Open GoogleCodeExporter opened 8 years ago
I second this. In a recent Ubuntu systemn(10.04) with mpich2, there is only a
file called 'libmpi.so', not 'libmpi.so.0'.
Original comment by xing....@gmail.com
on 25 Dec 2010 at 3:15
I know this is very old, but this issue is resolved with simple switches:
if sys.platform == 'darwin': # works on OSX
mpi = CDLL('libmpi.0.dylib', RTLD_GLOBAL)
else:
try:
mpi = CDLL('libmpi.so.0', RTLD_GLOBAL)
except OSError:
mpi = CDLL('libmpi.so', RTLD_GLOBAL)
and an 'import sys' up top, of course.
Original comment by benjami...@gmail.com
on 18 Mar 2011 at 6:46
Original issue reported on code.google.com by
romesh.a...@gmail.com
on 22 Dec 2009 at 10:26