[IPython-User] parallel computations on a global variable
Moritz Emanuel Beber
Tue Feb 12 18:31:23 CST 2013
> So basically, in your code all you need to add is:
> from IPython.parallel import require, interactive
> def parallel_inner(i, j):
The @interactive decorator had to be the inner one, i.e.,
works but not the other way round as you posted.
I used a non-blocking dview.push call which gave me a NameError since I
called the function before the variable had 'arrived'.
More information about the IPython-User