Mon Apr 23 11:47:53 CDT 2012
On Mon, Apr 23, 2012 at 04:14, Satrajit Ghosh <email@example.com> wrote:
> ps. the reason i couldn't make it another task is because of the
> distributed context. the engine on which the dependent task runs cannot be
> controlled (i think).
Nope. The engines can be controlled quite specifically. LoadBalancedViews
have a 'targets' attribute, just like DirectViews, but they select which
*subset* of targets across which the tasks may be distributed. If this is
a single engine, then you know exactly where it will run.
> On Mon, Apr 23, 2012 at 7:12 AM, Satrajit Ghosh <firstname.lastname@example.org> wrote:
>> hi fernando,
>> we just refactored our logging and config system! always good to clean up
>> some code right :)
>> On Mon, Apr 23, 2012 at 12:45 AM, Fernando Perez <email@example.com>wrote:
>>> On Sat, Mar 10, 2012 at 4:52 PM, Satrajit Ghosh <firstname.lastname@example.org> wrote:
>>> > the culprit was node, so instead of sending it directly, i pickled it
>>> > sent it. and unpickled it inside the function after i had done any of
>>> > configuring that i needed to do.
>>> Why not define another task that does the prep you need, and declare
>>> it as a dependency of this task? Would that not work?
>>> IPython-dev mailing list
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev