[IPython-User] distributing jobs
Robert Nishihara
robertnishihara@gmail....
Thu Jun 28 15:45:12 CDT 2012
Say I start 100 engines with
ipcontroller --profile=sge
ipcluster engines -n 100 --profile=sge
And I want to map a function over a list of length 100 as below
>> from IPython import parallel
>> rc = parallel.Client(profile='sge')
>> dview = rc[:]
>> dview.map_sync(f, range(100))
Since there are 100 engines and 100 function evaluations to do, is it the
case that map_sync will send one evaluation to each engine?
-Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120628/c9f2cea9/attachment.html
More information about the IPython-User
mailing list