[IPython-dev] load_balanced_view

Satrajit Ghosh satra@mit....
Sat Mar 10 18:52:48 CST 2012

here is one solution i'm using. let me know if there is a more elegant way

the culprit was node, so instead of sending it directly, i pickled it and
sent it. and unpickled it inside the function  after i had done any of the
configuring that i needed to do.



On Sat, Mar 10, 2012 at 12:54 PM, Satrajit Ghosh <satra@mit.edu> wrote:

> hi all,
> i'm calling load_balanced_view as:
> result_object = self.taskclient.load_balanced_view().apply(execute_task,
> node, updatehash)
> i need to execute a piece of code on the remote engine before the 'node'
> get's unpickled. is there a way to do that? (i basically need to set the
> output log directory and unpickling the node initializes the logger)
> cheers,
> satra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120310/79d410ea/attachment.html 

More information about the IPython-dev mailing list