• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import sys
2if sys.platform == 'linux2':
3    import DLFCN as dl
4    flags = sys.getdlopenflags()
5    sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
6    import mpi
7    sys.setdlopenflags(flags)
8else:
9    import mpi
10
11