[IPython-dev] ipcluster pbs gives no attribute 'job_id'
Ondrej Certik
ondrej at certik.cz
Sun Mar 22 04:19:53 EDT 2009
Hi,
I am trying to figure out how the pbs works, so I started on my laptop:
$ ipcluster pbs -n 2 --pbs-script=pbs.template
2009-03-22 01:08:50-0700 [-] Log opened.
2009-03-22 01:08:50-0700 [-] Process ['ipcontroller',
'--logfile=/home/ondra/.ipython/log/ipcontroller'] has started with
pid=5404
and nothing more happened. So I wanted to stop with with CTRL-C, but I got:
^C2009-03-22 01:09:36-0700 [-] Stopping pbs cluster
2009-03-22 01:09:36-0700 [-] Unexpected error in main loop.
2009-03-22 01:09:36-0700 [-] Unhandled Error
Traceback (most recent call last):
File "/home/ondra/lib/bin/ipcluster", line 21, in <module>
ipcluster.main()
File "/home/ondra/lib/lib/python/IPython/kernel/scripts/ipcluster.py",
line 724, in main
reactor.run()
File "/usr/lib/python2.5/site-packages/twisted/internet/base.py",
line 1128, in run
self.mainLoop()
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/internet/base.py",
line 1140, in mainLoop
self.doIteration(t)
File "/usr/lib/python2.5/site-packages/twisted/internet/selectreactor.py",
line 104, in doSelect
[], timeout)
File "/home/ondra/lib/lib/python/IPython/kernel/scripts/ipcluster.py",
line 572, in shutdown
d = pbs_set.kill()
File "/home/ondra/lib/lib/python/IPython/kernel/scripts/ipcluster.py",
line 315, in kill
[self.job_id],env=os.environ)
exceptions.AttributeError: 'PBSEngineSet' object has no attribute 'job_id'
and it keeps running. So it's unstoppable. :) I had to kill it with kill.
Ondrej
More information about the IPython-dev
mailing list