##// 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"] ```

File last commit:

r7739:dff285da
r7995:061632b4
Show More
formatting.ipynb
138 lines | 3.1 KiB | text/plain | TextLexer

Examples of basic formatting in the notebook

Normal and formatted text cells such as this one use the Markdown syntax.

Title (h1)

Heading (h2)

Heading (h3)

Here is a paragraph of text.

  • One.
    • Sublist
      • Here we go
    • Sublist - Here we go - Here we go
  • Two.
    • Sublist
  • Three.
    • Sublist

Now another list:


  1. Here we go
    1. Sublist
    2. Sublist
  2. There we go
  3. Now this

And another paragraph.

Heading (h3)

Heading (h4)

Heading (h5)
Heading (h6)

Heading (h2)

Heading (h1)

Heading (h2)

Heading (h3)

Heading (h4)

Heading (h5)
Heading (h6)

Now for a simple code example:

for i in range(10):
    print i

Now more text

This is a Heading Cell (level 1)

This is a Heading Cell (level 4)

Heading (h2)

Here is text.

> This is a block quote. This is a block quote. This is a block quote.
> This is a block quote. This is a block quote. This is a block quote.
> This is a block quote. This is a block quote. This is a block quote.
> This is a block quote. This is a block quote. This is a block quote.
> This is a block quote. This is a block quote. This is a block quote.
> This is a block quote. This is a block quote. This is a block quote.

Here is text

Header 1 Header 2
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2