On 12/04/2012 19:30, Al Niessner wrote:
Here is an update.
def subproc (i):
print ("From subprocess " + str(i))
print (b[:])
return
if __name__ == "__main__":
nproc = 3
print ("\nBuilding the array for the second computation.")
b = multiprocessing.Array (ctypes.c_
Here is an update.
def subproc (i):
print ("From subprocess " + str(i))
print (b[:])
return
if __name__ == "__main__":
nproc = 3
print ("\nBuilding the array for the second computation.")
b = multiprocessing.Array (ctypes.c_double, nproc*nproc, lock=False)
print ("\n
I am not subscribed to these lists but I do check them occasionally and
will check them more frequently looking for a response.
I am getting a pickling error that I do not understand. It seems the
shared arrays that I create cannot be pickled. Makes the
multiprocessing.Array fairly useless if it