Skip to content

Instantly share code, notes, and snippets.

@jakirkham
Last active October 21, 2015 16:23
Show Gist options
  • Save jakirkham/37b7f85f8be70178d5d5 to your computer and use it in GitHub Desktop.
Save jakirkham/37b7f85f8be70178d5d5 to your computer and use it in GitHub Desktop.
iPython Profiles (sge)
import os
c = get_config()
c.IPClusterStart.controller_launcher_class = "SGE"
c.IPClusterEngines.engine_launcher_class = "SGE"
c.IPClusterEngines.n = int(os.environ["CORES"]) - 1
c = get_config()
c.HubFactory.ip = '*'
c.HubFactory.engine_ip = '*'
c.HubFactory.db_class = "SQLiteDB"
c = get_config()
c.IPEngineApp.wait_for_url_file = 60
c.EngineFactory.timeout = 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment