install in AMD cluster

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install install in AMD cluster

Viewing 1 reply thread
  • Author
    Posts
    • #1797
      Anonymous

        Hello:

        I am trying to install rosettat-3.5 in a AMD based cluster with command:

        scons bin extras=mpi mode=release

        but it failed with messages:


        scons: Reading SConscript files …
        Copy(“user.options”, “user.options.template”)
        Copy(“user.settings”, “user.settings.template”)
        Copy(“/home/users/albert/install/rosetta-3.5/src/pilot_apps.src.settings”, “/home/users/albert/install/rosetta-3.5/src/pilot_apps.src.settings.template”)
        Traceback (most recent call last):
        File “/home/users/albert/install/rosetta-3.5/SConstruct”, line 143, in main
        build = SConscript(“tools/build/setup.py”)
        File “/home/users/albert/install/python/lib/scons-2.1.0/SCons/Script/SConscript.py”, line 614, in __call__
        return method(*args, **kw)
        File “/home/users/albert/install/python/lib/scons-2.1.0/SCons/Script/SConscript.py”, line 551, in SConscript
        return _SConscript(self.fs, *files, **subst_kw)
        File “/home/users/albert/install/python/lib/scons-2.1.0/SCons/Script/SConscript.py”, line 260, in _SConscript
        exec _file_ in call_stack[-1].globals
        File “/home/users/albert/install/rosetta-3.5/tools/build/setup.py”, line 416, in
        build = setup()
        File “/home/users/albert/install/rosetta-3.5/tools/build/setup.py”, line 407, in setup
        build.options_requested, build.options = setup_build_options()
        File “/home/users/albert/install/rosetta-3.5/tools/build/setup.py”, line 118, in setup_build_options
        supported, actual.os, requested.arch
        File “/home/users/albert/install/rosetta-3.5/tools/build/setup_platforms.py”, line 193, in select_arch
        raise KeyError, “Processor architecture ‘%s’ is unsupported.” % (actual)
        KeyError: “Processor architecture ‘Dual-Core AMD Opteron(tm) Processor 8218’ is unsupported.”
        scons: done reading SConscript files.
        scons: Building targets …
        scons: `bin’ is up to date.
        scons: done building targets.

      • #9670
        Anonymous

          Are you running Gentoo Linux by any chance?

          In the tools/build/setup_platforms.py script, around line 180 there’s a dictionary of processor IDs mapping them to what sort of processor architecture they are. It looks like Gentoo (and probably some other Linuxes) use more verbose labels than most other Linuxes do, leading to confusion. Just add your processor ID to the list, and that should fix things:

          ‘Dual-Core AMD Opteron(tm) Processor 8218’ : “x86”,

          P.S. If you could run the command

          python -c “import platform; print platform.machine()”

          and tell me what it prints out, I would appreciate it. It may help us fix the issue on a more permanent basis for future Rosetta versions.

        • #9674
          Anonymous

            I don’t know which linux distribution it is in the supercomputer. Here is the output for the command you’ve asked for:

            x86_64

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.