1
1
Remote IKernel
2
2
--------------
3
3
4
- Launch IPython/ Jupyter kernels on remote systems so that they can be
4
+ Launch Jupyter kernels on remote systems so that they can be
5
5
used with local noteboooks.
6
6
7
- Kernels start through interactive jobs in batch queue systems (only SGE
8
- and SLURM at the moment) or through SSH connections. Once the kernel is
7
+ ..image :: https://bitbucket.org/tdaff/remote_ikernel/raw/default/doc/kernels.png
8
+
9
+ Kernels start through interactive jobs in batch queue systems (SGE, SLURM,
10
+ PBS...) or through SSH connections. Once the kernel is
9
11
started, SSH tunnels are created for the communication ports are so the
10
12
notebook can talk to the kernel as if it was local.
11
13
12
- Commands for managing the kernels are included.
14
+ Commands for managing the kernels are included. There are also options for
15
+ managing kernels from different virtual environments or different python
16
+ implementations.
17
+
18
+ Install with ``pip install remote_ikernel ``. Requires ``notebook `` (as part
19
+ of jupyter), version 4.0 or greater and ``pexpect ``. Passwordless ``ssh ``
20
+ to the remote machines is also required.
21
+
22
+ .. note ::
23
+
24
+ Version 0.3 of this package depends on the split Jupyter and IPython
25
+ version 4 and later when installing with pip. If you are upgrading
26
+ from an older version of IPython, Jupyter will probably migrate your
27
+ existing kernels (to `~/.local/share/jupyter/kernels/ `), but not
28
+ profiles. If you need to stick with IPython 3 series, use an older
29
+ version of `remote_ikernel ` or install without using pip/setuptools.
13
30
14
- Install with ``pip install remote_ikernel ``. Requires ``IPython `` version
15
- 3.0 or greater and ``pexpect ``. Passwordless ``ssh `` to the remote machines
16
- is also required.
17
31
18
32
.. code :: shell
19
33
@@ -46,7 +60,7 @@ is also required.
46
60
47
61
.. code :: shell
48
62
49
- # Set up kernels for all your local virtual environments that can be run
63
+ # Set up kernels for your local virtual environments that can be run
50
64
# from a single notebook server.
51
65
52
66
remote_ikernel manage --add \
@@ -64,6 +78,12 @@ the drop-down list in the notebook.
64
78
calls ``run(`kill $(getpid())`) `` instaed of ``exit() ``.
65
79
66
80
81
+ Changes for v0.3
82
+ ================
83
+
84
+ * Updated pip requirements to pull in the `notebook ` package. Use an earlier
85
+ version if you need to use IPython 3.
86
+
67
87
Changes for v0.2
68
88
================
69
89
0 commit comments