I have two nodes that I'd like to run IPython.parallel engines on. One of them is a linux box, the other runs MacOSX. The directory names are slightly different on the different machines and I can't find a way to start SSHEngines on both machines at the same time. It works on each of them individually.
For the MacOSX machine, I set the engine_cmd to
c.SSHEngineSetLauncher.engine_cmd = ['/Users/rein/git/rebound/venv/bin/python', '-m', 'IPython.parallel.engine']
whereas for the Linux machine I use
c.SSHEngineSetLauncher.engine_cmd = ['/home/rein/git/rebound/venv/bin/python', '-m', 'IPython.parallel.engine']
How can I define on an engine_cmd on a per engine basis?