You are here

Build with mpi error

3 posts / 0 new
Last post
Build with mpi error
#1

Hello everyone!

I am trying to install rosetta with mpi on CentOS 6.9. I installed openmpi and openmpi-devel using yum. I copied the file site.settings.topsail as site.settings and run the command './scons.py bin mode=release extras=mpi -j5'

I am getting the following error.

 

[Veda@my_pc]$ ./scons.py bin mode=release extras=mpi -j 5
scons: Reading SConscript files ...
Traceback (most recent call last):
  File "/home/Veda/Downloads/rosetta_bin_linux_2017.08.59291_bundle/main/source/SConstruct", line 150, in main
    build = SConscript("tools/build/setup.py")
  File "/home/Veda/Downloads/rosetta_bin_linux_2017.08.59291_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/Veda/Downloads/rosetta_bin_linux_2017.08.59291_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/Veda/Downloads/rosetta_bin_linux_2017.08.59291_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/Veda/Downloads/rosetta_bin_linux_2017.08.59291_bundle/main/source/tools/build/setup.py", line 429, in <module>
    build = setup()
  File "/home/Veda/Downloads/rosetta_bin_linux_2017.08.59291_bundle/main/source/tools/build/setup.py", line 420, in setup
    build.settings = setup_build_settings(build.options)
  File "/home/Veda/Downloads/rosetta_bin_linux_2017.08.59291_bundle/main/source/tools/build/setup.py", line 210, in setup_build_settings
    site = Settings.load("site.settings", "settings")
  File "/home/Veda/Downloads/rosetta_bin_linux_2017.08.59291_bundle/main/source/tools/build/settings.py", line 130, in load
    execfile(file, settings)
  File "site.settings", line 27, in <module>
  File "/usr/local/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.

 

I understand that there is no key named 'INCLUDE' in my os.environ variable. But, what does INCLUDE really need to be? Is it the path to system libraries?

Could someone help regarding this issue?

Thanks in advance

Veda.

Category: 
Post Situation: 
Mon, 2017-06-05 01:22
Vedasheersh

This just means you don't have anything for the INCLUDE environment variable ... probably because the MPI libraries have been installed in the "standard" directories rather than in a custom one. That's fine, and should work.

What you'll want to do is go into the site.settings file and comment out (prepend with '#') the line which uses INCLUDE. Or in other words, you want to make your site.settings file look like site.settings.killdevil rather than site.settings.topsail

Mon, 2017-06-05 08:01
rmoretti

Dear rmoretti,

Thanks a lot! That worked perfect. It compiled without any further errors. :D

Veda.

Tue, 2017-06-13 22:28
Vedasheersh