[IPython-User] ipcluster's ssh mode and logging

Vishal Vatsa vishal.vatsa@gmail....
Mon Mar 14 13:17:30 CDT 2011

Giovanni Luca Ciampaglia wrote:

> Hi all,
> I run my simulations using ipcluster with both "local" and "ssh" mode.
> My tasks take as input command pipes; each task simply runs a simulation
> in a sub-shell (via subprocess.call with shell=1). For example, a
> typical command line is:
> python simulation.py -c 3 -b 2 | python postprocess.py > output-51.npy
> Now, my simulation.py script writes some valuable information to the
> console's standard error too -- mostly the computation time -- and when
> I run ipcluster in "local" mode I get this console output in the log
> file (cluster.log), while in "ssh" mode I don't. Any ideas why this is
> so and how I could solve the problem? I'm on IPython 0.10.1.

Could you provide information on your ssh cluster env. 
I would hazard a guess that, stderr are in the logs of the engines.


More information about the IPython-User mailing list