mpi/build/__init__.py
2008-06-26 19:25:44 +00:00

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