[IPython-dev] SciPy Sprint summary

Matthieu Brucher matthieu.brucher at gmail.com
Wed Jul 21 11:49:47 EDT 2010

2010/7/21 Justin Riley <justin.t.riley at gmail.com>:
> On 07/21/2010 09:32 AM, Matthieu Brucher wrote:
>> Two issues:
>> - only one engine visible instead of four
>> - when I kill the mec, the job is finished, but ipcluster still runs
> Thanks for testing this with LSF
> 1. Is your ~/.ipython/security folder shared on the cluster? Currently
> the code assumes that this is the case.

Yes, we have a test machine with the same $HOME.

> 2. By killing the mec do you mean ctrl-c'ing the ipcluster process? If
> not, could you try that?

By killing, I tried mec.kill(). If I kill it then by Ctr+C, I get:
2010-07-21 15:34:49+0200 [-] Stopping LSF cluster
2010-07-21 15:34:49+0200 [-]
2010-07-21 15:34:49+0200 [-] Process ['ipcontroller',
'--logfile=/users/brucher/.ipython/log/ipcontroller', '-x', '-y'] has
stopped with 0
2010-07-21 15:34:51+0200 [-] Main loop terminated.
2010-07-21 15:34:51+0200 [-] Unhandled error in Deferred:
2010-07-21 15:34:51+0200 [-] Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.internet.error.ProcessTerminated: A process
has ended with a probable error condition: process ended with exit
code 255.

If I kill it directly with Ctrl+C, it doesn't display an error.

> Also, with the changes you made you'll need to pass delete=False to
> NamedTemporaryFile, otherwise I believe the file is deleted when it's
> closed. I'll try to merge your ipcluster changes later today.

I can create a repository on github with the 3 changes. I don't think
the file is deleted, I'm calling close() on the inner file object, it
shouldn't propagate the closing to its parent, should it?

Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher

More information about the IPython-dev mailing list