• This topic has 2 replies, 2 voices, and was last updated 9 years ago by Anonymous.
Viewing 2 reply threads
  • Author
    Posts
    • #2350
      Anonymous

        Hello!

        I tried to build MPI executables. And I copied main/source/tools/build/site.settings.topsail to main/source/tools/build/site.settings before that as it is noticed in the documentation.

        But an error occured.

        scons: Reading SConscript files …

        Traceback (most recent call last):

          File “/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/SConstruct”, line 150, in main

            build = SConscript(“tools/build/setup.py”)

          File “/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py”, line 614, in __call__

            return method(*args, **kw)

          File “/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/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/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/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/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/tools/build/setup.py”, line 421, in <module>

            build = setup()

          File “/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/tools/build/setup.py”, line 413, in setup

            build.settings = setup_build_settings(build.options)

          File “/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/tools/build/setup.py”, line 210, in setup_build_settings

            site = Settings.load(“site.settings”, “settings”)

          File “/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/tools/build/settings.py”, line 86, in load

            execfile(file, settings)

          File “site.settings”, line 27, in <module>

          File “/usr/lib/python2.7/UserDict.py”, line 40, in __getitem__

         raise KeyError(key)

        KeyError: ‘INCLUDE’

        scons: done reading SConscript files.

        scons: Building targets …

        scons: `bin’ is up to date.

        scons: done building targets.

        Actually, I once tried to build MPI without copying the file and everything worked. But what can be the problem now?

        Best regards,

        Dmitry.

         

      • #11378
        Anonymous

          Undo the copy of site.settings.topsail to site.settings and compile that way, if it worked.  The site.settings.topsail trick is only if it didn’t work the first time.  

          Site.settings.topsail exists to improve autodetection of paths for the MPI libraries, etc.  It’s never necessary.  Apparently the site.settings.topsail file makes things worse for you, not better, apparently because some environment variables (INCLUDE?) are missing.  

        • #11379
          Anonymous

            Thanks a lot!

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