##// END OF EJS Templates
Backport PR #2126: ipcluster broken with any batch (PBS/LSF/SGE)...
Backport PR #2126: ipcluster broken with any batch (PBS/LSF/SGE) I have setup ipcluster_config.py to start with LSF: ``` c.IPClusterStart.controller_launcher_class = 'LSF' c.IPClusterStart.engine_launcher_class = 'LSF' ``` But the ipcluster command fails to start the engines: ``` ipcluster start --profile=lsf -n 10 ``` The problem is fixed if I add quotes to the launch command string ```cmd``` in ```launcher.py```. ``` diff --git a/IPython/parallel/apps/launcher.py b/IPython/parallel/apps/launcher.py index e752d2a..6035303 100644 --- a/IPython/parallel/apps/launcher.py +++ b/IPython/parallel/apps/launcher.py @@ -73,7 +73,7 @@ WINDOWS = os.name == 'nt' # Paths to the kernel apps #----------------------------------------------------------------------------- -cmd = "from IPython.parallel.apps.%s import launch_new_instance; launch_new_instance()" +cmd = "\"from IPython.parallel.apps.%s import launch_new_instance; launch_new_instance()\"" ipcluster_cmd_argv = [sys.executable, "-c", cmd % "ipclusterapp"] ```
MinRK -
r7995:061632b4
Show More
Name Size Modified Last Commit Author
/ IPython / deathrow
gui
oldfrontend
tests
Gnuplot2.py Loading ...
GnuplotInteractive.py Loading ...
GnuplotRuntime.py Loading ...
PhysicalQInput.py Loading ...
PhysicalQInteractive.py Loading ...
Shell.py Loading ...
__init__.py Loading ...
astyle.py Loading ...
dtutils.py Loading ...
ibrowse.py Loading ...
igrid.py Loading ...
igrid_help.css Loading ...
igrid_help.html Loading ...
ipipe.py Loading ...
iplib.py Loading ...
ipy_constants.py Loading ...
ipy_defaults.py Loading ...
ipy_kitcfg.py Loading ...
ipy_legacy.py Loading ...
ipy_p4.py Loading ...
ipy_profile_none.py Loading ...
ipy_profile_numpy.py Loading ...
ipy_profile_scipy.py Loading ...
ipy_profile_sh.py Loading ...
ipy_profile_zope.py Loading ...
ipy_traits_completer.py Loading ...
ipy_vimserver.py Loading ...
ipython-wx Loading ...
ipythonx Loading ...
numeric_formats.py Loading ...
numutils.py Loading ...
outputtrap.py Loading ...
quitter.py Loading ...
scitedirector.py Loading ...
twshell.py Loading ...