Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › compiling Rosetta 3.5 on cluster
- This topic has 2 replies, 2 voices, and was last updated 9 years, 10 months ago by Anonymous.
-
AuthorPosts
-
-
January 8, 2015 at 2:37 am #2115Anonymous
Hi all,
I was trying to compile Rosetta on a cluster x86_64, kernel 2.6.18 and got the error below. I used: python external/scons-local/scons.py
Anybody can help?
I really appreciate,
Tscons: Reading SConscript files …
Traceback (most recent call last):
File “/home/tigerous/Rosetta/main/source/SConstruct”, line 150, in main
build = SConscript(“tools/build/setup.py”)
File “/home/tigerous/Rosetta/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py”, line 614, in __call__
return method(*args, **kw)
File “/home/tigerous/Rosetta/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py”, line 551, in SConscript
return _SConscript(self.fs, *files, **subst_kw)
File “/home/tigerous/Rosetta/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py”, line 260, in _SConscript
exec _file_ in call_stack[-1].globals
File “/home/tigerous/Rosetta/main/source/tools/build/setup.py”, line 421, in ?
build = setup()
File “/home/tigerous/Rosetta/main/source/tools/build/setup.py”, line 412, in setup
build.options_requested, build.options = setup_build_options()
File “/home/tigerous/Rosetta/main/source/tools/build/setup.py”, line 40, in setup_build_options
defaults = Settings.load(“basic.options”)
File “/home/tigerous/Rosetta/main/source/tools/build/settings.py”, line 86, in load
execfile(file, settings)
File “basic.options”, line 23
osx_version = int(uname[2][0:2]) if uname[0] == “Darwin” else 0
SyntaxError: invalid syntax
scons: done reading SConscript files.
scons: Building targets …
scons: `bin’ is up to date.
scons: done building targets. -
January 9, 2015 at 6:48 pm #10756Anonymous
This is because you are running an older version of Python, probably python2.4. (You can check by doing a “python –version”) The line that’s giving you an error requires python2.5 or later. (But don’t use any of the Python 3.X series.)
You may already have a later version of python installed. Try using “python2.7” “python2.6” or “python2.5” instead of just plain “python” when invoking the scons command to specify a later version, rather than the system default.
Alternatively, talk to your cluster administrator to see if they have an updated python version installed somewhere.
-
January 13, 2015 at 4:04 am #10763Anonymous
Using Python2.7 worked.
Thanks Rocco
-
-
AuthorPosts
- You must be logged in to reply to this topic.