Update of /cvsroot/boost/boost/libs/mpi/build
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4571

Modified Files:
        __init__.py 
Log Message:
Tweak loading of Boost.MPI module

Index: __init__.py
===================================================================
RCS file: /cvsroot/boost/boost/libs/mpi/build/__init__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- __init__.py 17 Jan 2007 02:48:49 -0000      1.1
+++ __init__.py 26 Feb 2007 14:38:14 -0000      1.2
@@ -1 +1,10 @@
+import sys
+if sys.platform == 'linux2':
+    import dl
+    flags = sys.getdlopenflags()
+    sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
+    import mpi
+    sys.setdlopenflags(flags)
+else:
+import mpi
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to