<br><br><div class="gmail_quote">On Sun, Oct 23, 2011 at 11:38, Toby Burnett <span dir="ltr"><<a href="mailto:tburnett@uw.edu" target="_blank">tburnett@uw.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<span style="background-color:transparent">.</span></blockquote>
<div><br></div><div>Argh, when in conflict, the online docs are out of date. I'll update them now. The default config files are automatically generated from the configurable objects,</div><div>so a fresh `ipython profile create <name> --parallel` can't be out of date.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
c.IPClusterEngines.engine_launcher_class = 'SSHEngineSetLauncher'<br>
c.IPClusterEngines.engine_launcher = 'IPython.parallel.apps.launcher.SSHEngineSetLauncher'<br></blockquote><div><br></div><div>Changes from 0.11-0.12:</div><div> * added the _class to be more clear</div><div> * allowed launchers from <span style="background-color:transparent">IPython.parallel.apps.</span><span style="background-color:transparent">launcher to be specified by classname only, for convenience. In fact, you can now just specify 'SSH' or 'MPIExec', and it will resolve to </span><span style="background-color:transparent">'IPython.parallel.apps.</span><span style="background-color:transparent">launcher.SSHFooLauncher'.</span></div>
<div><span style="background-color:transparent"><br></span></div><div><span style="background-color:transparent">Obviously, trying to clarify things without updating the docs is not a great success. What you have is exactly right for a config file to work on both 0.11 and 0.12. I will add a deprecation warning on the old name, so that users moving from 0.11 to 0.12 get some help, and some more detail to docs and helpstrings, to hopefully avoid future confusion.</span></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
and I set c.SSHEngineSetLauncher.engines to {'tev01':4}, another machine from the one I ran ipcluster<br>
The results follow: the last line is very confusing; I have no idea where it got the non-extentent machine names.<br></blockquote><div><br></div><div>ha, that's just a poor choice on my part. When you start multiple engines on a single host, their keys in the dict that tracks them (which you are seeing in the log message) will be 'host0', 'host1', 'host2', etc.. Obviously, that doesn't sit well with nodeNN machine naming, because they still look like machine names. I'll add a '/' separator, so it's clearer that these are four engines on 'tev01', not one engine each on 'tev011' etc.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
tev11:~/analysis[878]$ipcluster start --profile=ssh &<br>
<div>[IPClusterStart] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_ssh'<br>
will start the following engines: {'tev01': 4}<br>
</div><div>[IPClusterStart] Starting ipcluster with [daemon=False]<br>
[IPClusterStart] Creating pid file: /phys/users/tburnett/.ipython/profile_ssh/pid/ipcluster.pid<br>
</div>[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']<br>
[IPClusterStart] Process '/phys/users/olsont/TEV/Glast/python27/bin/python2.7' started: 20849<br>
[IPClusterStart] [IPControllerApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_ssh'<br>
[IPClusterStart] Scheduler started [leastload]<br>
[IPClusterStart] Starting 24 engines<br>
[IPClusterStart] Process 'ssh' started: 20868<br>
[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']<br>
[IPClusterStart] Process 'ssh' started: 20869<br>
[IPClusterStart] Process 'ssh' started: 20870<br>
[IPClusterStart] Process 'ssh' started: 20871<br>
[IPClusterStart] Process 'engine set' started: [None, None, None, None]<br>
[IPClusterStart] tcgetattr: Invalid argument<br>
[IPClusterStart] tcgetattr: Invalid argument<br>
[IPClusterStart] tcgetattr: Invalid argument<br>
[IPClusterStart] tcgetattr: Invalid argument<br>
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'<br>
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'<br>
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'<br>
[IPClusterStart] [IPEngineApp] Using existing profile dir: u'/phys/users/tburnett/.ipython/profile_default'<br>
[IPClusterStart] Connection to tev01 closed.<br>
[IPClusterStart] Process 'ssh' stopped: {'pid': 20870, 'exit_code': 255}<br>
[IPClusterStart] Connection to tev01 closed.<br>
[IPClusterStart] Process 'ssh' stopped: {'pid': 20869, 'exit_code': 255}<br>
[IPClusterStart] Connection to tev01 closed.<br>
[IPClusterStart] Process 'ssh' stopped: {'pid': 20868, 'exit_code': 255}<br>
[IPClusterStart] Connection to tev01 closed.<br>
[IPClusterStart] Process 'ssh' stopped: {'pid': 20871, 'exit_code': 255}<br>
[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}}<br>
<div><div></div><div><br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org" target="_blank">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br>