thierry3000 / tumorcode

Simulation of Vascularized Tumors including Angiogenesis, Oxygen, Drugs and Interstitial Fluid
http://www.uni-saarland.de/fak7/rieger/homepage/research/tumor/tumor.html
10 stars 6 forks source link

openmpi needs --disable-dlopen #3

Closed thierry3000 closed 7 years ago

thierry3000 commented 7 years ago

While adding pagmo to the adaption problem, I needed openmpi to be compiled with the option above. Maybe this also helps to set up a better environment for trilinos which can be with and without MPI support.

thierry3000 commented 7 years ago

import ctypes ctypes.CDLL("libmpi.so", mode=ctypes.RTLD_GLOBAL)

also seems to work. See https://github.com/baidu-research/tensorflow-allreduce/issues/4