[IPython-User] IPython-User Digest, Vol 119, Issue 10
Thu Sep 5 14:00:33 CDT 2013
Thanks. That got me most of the way there, but not quite, because now the
file names are colliding (because I have multiple engines running on each
node). One solution would be to have each engine store the value in a
separate file but that means naming the file dynamically. Following
don't see any way to do that. (I tried eval, but it didn't work. I also
tried appending, but that didn't work either.)
On Thu, Sep 5, 2013 at 10:00 AM, <email@example.com> wrote:
> Date: Wed, 4 Sep 2013 16:43:39 -0700
> From: MinRK <firstname.lastname@example.org>
> Subject: Re: [IPython-User] Saving IPython cluster state
> the store magic lives in an extension - for some reason, it is loaded by
> default most of the time, but not in engines. To load it:
> %load_ext storemagic
> On Wed, Sep 4, 2013 at 4:31 PM, Alessandro Gagliardi <email@example.com
> > Hi all,
> > I want to have an IPython cluster that I can stop and start (in AWS) and
> > be able to easily restore the state of at least some of the variables.
> > storemagic seems to work well on a single instance, but when I try
> >> %%px
> >> %store foo
> > I get:
> > ERROR: Line magic function `%store` not found.
> > I don't know why %store works on the master but not on the worker nodes.
> > If you know of a way to get it to work...or if there is a better way to
> > this altogether that I'm missing, I would greatly appreciate hearing
> > it.
> > Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User