You are here

building mpi

3 posts / 0 new
Last post
building mpi


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/")
  File "/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/", 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/", 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/", 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/", line 421, in <module>
    build = setup()
  File "/home/nikolaev_d/rosetta_bin_linux_2015.39.58186_bundle/main/source/tools/build/", 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/", 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/", line 86, in load
    execfile(file, settings)
  File "site.settings", line 27, in <module>
  File "/usr/lib/python2.7/", 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,



Post Situation: 
Thu, 2015-12-17 07:03

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.  

Thu, 2015-12-17 07:13

Thanks a lot!

Thu, 2015-12-17 07:27