You are here

system requirements (python and scons versions, etc) for Rosetta 2014.3x?

4 posts / 0 new
Last post
system requirements (python and scons versions, etc) for Rosetta 2014.3x?
#1

Hello,

I'm having trouble compiling rosetta 2014.34 on a red hat machine, and it looks like the problem may be with one or more missing features/attributes in one (or more) python modules. What versions of python (and I guess scons) are needed?

Thanks, - Mark

Category: 
Post Situation: 
Wed, 2014-09-03 08:50
megirvin

We distribute scons with Rosetta, so you can simply use the ./scons.py script in the main/source/ directory, as opposed to a system-installed scons.

The Rosetta developers run a number of different system when compiling, so I think Rosetta should compile with anything from python 2.5 to python 2.7. My main machine is currently using python 2.7.6 on a CentOS 6.3. But others have other systems, so you probably don't need to match that exactly.

What is the error message you're getting? If you can cut&paste it here, we may be able to narrow down what the issue is a little closer. (It may not be a Python versioning issue at all, just something that looks like one.)

Wed, 2014-09-03 14:11
rmoretti

Looks like it was an old Python problem. Built and swapped in Python2.7, and rosetta 2014.34 seems to be building fine. Thanks again, - Mark

Thu, 2014-09-04 10:44
megirvin

Hello again, and thanks for the reply. The target system is still running CentOS 5.x (awaiting v. 7), whose system python is v2.4.4. The traceback is pasted below. For the time being, I'm just doing a static compile on a more current (Debian) machine, to transfer over to the higher cpu#/older OS machine for the actual runs.

Thanks again! - Mark

# ./scons.py
scons: Reading SConscript files ...
Running versioning script ... Done. (0.0 seconds)
Traceback (most recent call last):
File "/usr/local/rosetta_2014.34/main/source/SConstruct", line 163, in main
SConscript("SConscript", "build")
File "/usr/local/rosetta_2014.34/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py", line 614, in __call__
return method(*args, **kw)
File "/usr/local/rosetta_2014.34/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 "/usr/local/rosetta_2014.34/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 "/usr/local/rosetta_2014.34/main/source/SConscript", line 28, in ?
subprocess.check_call(["./update_options.sh"])
AttributeError: 'module' object has no attribute 'check_call'
scons: done reading SConscript files.

Thu, 2014-09-04 10:08
megirvin