Commits

Anonymous committed 77e5b30

cleanup

Comments (0)

Files changed (1)

pupympi/mpi/network/utils.py

             cmd = shapelen*1000 + cmd
             
             v = data.view(numpy.uint8).flatten()
-            #v = data.view(numpy.uint8)
             serialized_data = [byteshape, v]
             length = shapelen+v.size
             
+            # BELOW WORKS EXCEPT FOR DEEPCOPY IN ALLTOALL
             #b = buffer(data)
             #serialized_data = [byteshape, b]
             #length = shapelen+len(b)
             v = data.view(numpy.uint8)
             serialized_data = [v]
             length = v.size
-
+            
+            # BELOW WORKS EXCEPT FOR DEEPCOPY IN ALLTOALL
             #b = buffer(data)
             #serialized_data = [b]
             #length = len(b)