##// 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
/ docs
attic
emacs
examples
man
resources
source
sphinxext
Makefile Loading ...
README.txt Loading ...
README_Windows.txt Loading ...
api_changes.txt Loading ...
autogen_api.py Loading ...
do_sphinx.py Loading ...
gh-pages.py Loading ...
pycon.ico Loading ...
update_version.sh Loading ...

Current version information
---------------------------

Please open manual.pdf for a PDF version of IPython's user manual, or go to
the manual/ directory for an HTML version.


Bugs and future developments
----------------------------

The new_design.pdf document is a description of the goals for IPython's future
development. It includes a TODO/bugs section listing all currently known bugs
in IPython. Please report any bug you encounter if it is not already listed
there.