]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/mpi/test/python/all_gather_test.py
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / mpi / test / python / all_gather_test.py
index 824dc892fd95a622da4ed30d714dcbb8694ca214..92e1f1094949c3938a1ba9d61aadbf3088f04af5 100644 (file)
@@ -6,7 +6,8 @@
 
 # Test all_gather() collective.
 
-import boost.parallel.mpi as mpi
+from __future__ import print_function
+import mpi
 from generators import *
 
 def all_gather_test(comm, generator, kind):
@@ -15,7 +16,7 @@ def all_gather_test(comm, generator, kind):
     result = mpi.all_gather(comm, my_value)
     for p in range(0, comm.size):
         assert result[p] == generator(p)
-    if comm.rank == 0: print "OK."
+    if comm.rank == 0: print( "OK.")
        
     return