mirror of
https://github.com/triqs/dft_tools
synced 2024-12-26 06:14:14 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
11 lines
214 B
Python
11 lines
214 B
Python
import sys
|
|
if sys.platform == 'linux2':
|
|
import DLFCN as dl
|
|
flags = sys.getdlopenflags()
|
|
sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
|
|
import mpi
|
|
sys.setdlopenflags(flags)
|
|
else:
|
|
import mpi
|
|
|