Author: bugman
Date: Thu Oct 27 10:15:06 2016
New Revision: 28260

URL: http://svn.gna.org/viewcvs/relax?rev=28260&view=rev
Log:
Added the MPI version information to the mpi4py information printout.


Modified:
    trunk/info.py

Modified: trunk/info.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/info.py?rev=28260&r1=28259&r2=28260&view=diff
==============================================================================
--- trunk/info.py       (original)
+++ trunk/info.py       Thu Oct 27 10:15:06 2016
@@ -418,6 +418,15 @@
         try:
             version.append(dep_check.mpi4py.__version__)
             path.append(dep_check.mpi4py.__path__[0])
+
+            # MPI version.
+            try:
+                import mpi4py.MPI
+                vendor = mpi4py.MPI.get_vendor()
+                version[-1] += (" (%s %s.%s.%s)" % (vendor[0], vendor[1][0], 
vendor[1][1], vendor[1][2]))
+            except:
+                pass
+
         except:
             version.append('')
             path.append('')


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to