We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de1c76 commit e898b9bCopy full SHA for e898b9b
python-wrapper/setup.py
@@ -141,8 +141,7 @@ def def_ext_modules(self):
141
include_paths.append(self.mpi_include_path)
142
os.environ["CXX"] = "mpic++"
143
os.environ["CC"] = "mpicc"
144
- mpi_lib = "/usr/local/openmpi-1.10.5_intel/lib/libmpi.so"
145
- mpi_lib = "/usr/lib64/openmpi-1.10/lib/libmpi.so"
+ mpi_lib = re.sub("/include/","/lib/",self.mpi_include_path)
146
147
_extra_compile_args = ["-std=c++11",
148
"-g" ,
0 commit comments