Importing Numpy In Parallel Python
everyone,I am new to PP but got stuck in a problem when importing NumPy with PP. Basically what I tried to do was submitting a function to the ppserver which depends on NumPy. I ha
Solution 1:
I could be wrong, but I believe the way you submit the job is wrong. As seen on the documentation (http://www.parallelpython.com/content/view/15/30/#QUICKSMP), the third argument (not including "self") are dependent functions. Also, the modules have to be strings. I'm assuming the "band" and "k" are dependent functions since I do not see their declarations:
job = job_server.submit(aa.plotwavefunc, depfuncs = (band,k), modules = ("numpy","pylab","signal"))
Post a Comment for "Importing Numpy In Parallel Python"