diff --git a/IPython/config/default/ipclusterz_config.py b/IPython/config/default/ipclusterz_config.py index 18deff9..855bfbb 100644 --- a/IPython/config/default/ipclusterz_config.py +++ b/IPython/config/default/ipclusterz_config.py @@ -11,7 +11,7 @@ c = get_config() # - Start as a regular process on localhost. # - Start using mpiexec. # - Start using the Windows HPC Server 2008 scheduler -# - Start using PBS +# - Start using PBS/SGE # - Start using SSH @@ -21,13 +21,16 @@ c = get_config() # - LocalControllerLauncher # - MPIExecControllerLauncher # - PBSControllerLauncher +# - SGEControllerLauncher # - WindowsHPCControllerLauncher # c.Global.controller_launcher = 'IPython.zmq.parallel.launcher.LocalControllerLauncher' +c.Global.controller_launcher = 'IPython.zmq.parallel.launcher.PBSControllerLauncher' # Options are: # - LocalEngineSetLauncher # - MPIExecEngineSetLauncher # - PBSEngineSetLauncher +# - SGEEngineSetLauncher # - WindowsHPCEngineSetLauncher # c.Global.engine_launcher = 'IPython.zmq.parallel.launcher.LocalEngineSetLauncher' @@ -136,14 +139,23 @@ c = get_config() # Unix batch (PBS) schedulers launchers #----------------------------------------------------------------------------- +# SGE and PBS are very similar. All configurables in this section called 'PBS*' +# also exist as 'SGE*'. + # The command line program to use to submit a PBS job. -# c.PBSControllerLauncher.submit_command = ['qsub'] +# c.PBSLauncher.submit_command = ['qsub'] # The command line program to use to delete a PBS job. -# c.PBSControllerLauncher.delete_command = ['qdel'] +# c.PBSLauncher.delete_command = ['qdel'] + +# The PBS queue in which the job should run +# c.PBSLauncher.queue = 'myqueue' # A regular expression that takes the output of qsub and find the job id. -# c.PBSControllerLauncher.job_id_regexp = r'\d+' +# c.PBSLauncher.job_id_regexp = r'\d+' + +# If for some reason the Controller and Engines have different options above, they +# can be set as c.PBSControllerLauncher.