Skip to content

Instantly share code, notes, and snippets.

@cowlicks
Created May 7, 2014 20:22
Show Gist options
  • Select an option

  • Save cowlicks/4a40ba3985ec6d3c0a06 to your computer and use it in GitHub Desktop.

Select an option

Save cowlicks/4a40ba3985ec6d3c0a06 to your computer and use it in GitHub Desktop.
ipcluster config file for ipython
# Configuration file for ipcluster.
c = get_config()
c.IPClusterEngines.engine_launcher_class = 'SSH'
c.IPClusterEngines.controller_launcher_class = 'SSH'
c.SSHClusterLauncher.username = 'blake'
c.SSHClusterLauncher.hostname = '10.7.0.121'
c.SSHControllerLauncher.controller_cmd = ['/home/blake/.virtualenvs/remote-ipython-worker/bin/python', '-m', 'IPython.parallel.controller']
c.SSHEngineLauncher.engine_cmd = ['/home/blake/.virtualenvs/remote-ipython-worker/bin/python', '-m', 'IPython.parallel.engine']
c.SSHEngineSetLauncher.engine_cmd = ['/home/blake/.virtualenvs/remote-ipython-worker/bin/python', '-m', 'IPython.parallel.engine']
c.SSHEngineSetLauncher.engines = {'10.7.0.121' : 4}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment