[IPython-User] parallel ssh problems

Toby Burnett tburnett@uw....
Sun Oct 23 13:38:12 CDT 2011


Sorry, after reading the instructions, I realized that I set the wrong value, but there is some confusion between the online help and instructions in the generated config-ssh/ipcluster_config.py, so I put in both lines.

c.IPClusterEngines.engine_launcher_class = 'SSHEngineSetLauncher'
c.IPClusterEngines.engine_launcher = 'IPython.parallel.apps.launcher.SSHEngineSetLauncher'

and I set c.SSHEngineSetLauncher.engines to {'tev01':4}, another machine from the one I ran ipcluster
The results follow: the last line is very confusing; I have no idea where it got the non-extentent machine names.

tev11:~/analysis[878]$ipcluster start --profile=ssh &
[IPClusterStart] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_ssh'
will start the following engines: {'tev01': 4}
[IPClusterStart] Starting ipcluster with [daemon=False]
[IPClusterStart] Creating pid file: /phys/users/tburnett/.ipython/profile_ssh/pid/ipcluster.pid
[IPClusterStart] Starting LocalControllerLauncher: ['/phys/users/olsont/TEV/Glast/python27/bin/python2.7', u'/phys/users/olsont/TEV/Glast/python27/lib/python2.7/site-packages/ipython-0.11-py2.7.egg/IPython/parallel/apps/ipcontrollerapp.py', '--log-to-file', '--log-level=20', u'--profile-dir=/phys/users/tburnett/.ipython/profile_ssh']
[IPClusterStart] Process '/phys/users/olsont/TEV/Glast/python27/bin/python2.7' started: 20849
[IPClusterStart] [IPControllerApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_ssh'
[IPClusterStart] Scheduler started [leastload]
[IPClusterStart] Starting 24 engines
[IPClusterStart] Process 'ssh' started: 20868
[IPClusterStart] Starting SSHEngineSetLauncher: ['ssh', '-tt', u'tburnett@tev01', '/phys/users/olsont/TEV/Glast/python27/bin/python2.7', u'/phys/users/olsont/TEV/Glast/python27/lib/python2.7/site-packages/ipython-0.11-py2.7.egg/IPython/parallel/apps/ipengineapp.py', '--log-to-file', '--log-level=20']
[IPClusterStart] Process 'ssh' started: 20869
[IPClusterStart] Process 'ssh' started: 20870
[IPClusterStart] Process 'ssh' started: 20871
[IPClusterStart] Process 'engine set' started: [None, None, None, None]
[IPClusterStart] tcgetattr: Invalid argument
[IPClusterStart] tcgetattr: Invalid argument
[IPClusterStart] tcgetattr: Invalid argument
[IPClusterStart] tcgetattr: Invalid argument
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'
[IPClusterStart] Connection to tev01 closed.
[IPClusterStart] Process 'ssh' stopped: {'pid': 20870, 'exit_code': 255}
[IPClusterStart] Connection to tev01 closed.
[IPClusterStart] Process 'ssh' stopped: {'pid': 20869, 'exit_code': 255}
[IPClusterStart] Connection to tev01 closed.
[IPClusterStart] Process 'ssh' stopped: {'pid': 20868, 'exit_code': 255}
[IPClusterStart] Connection to tev01 closed.
[IPClusterStart] Process 'ssh' stopped: {'pid': 20871, 'exit_code': 255}
[IPClusterStart] Process 'engine set' stopped: {'tev012': {'pid': 20870, 'exit_code': 255}, 'tev013': {'pid': 20871, 'exit_code': 255}, 'tev010': {'pid': 20868, 'exit_code': 255}, 'tev011': {'pid': 20869, 'exit_code': 255}}



More information about the IPython-User mailing list