compiling Rosetta 3.5 on cluster

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install compiling Rosetta 3.5 on cluster

Viewing 2 reply threads
  • Author
    Posts
    • #2115
      Anonymous

        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,
        T

        scons: 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.

      • #10756
        Anonymous

          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.

        • #10763
          Anonymous

            Using Python2.7 worked.
            Thanks Rocco

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.