Skip to main content

Running IPython kernels through batch queues

Project description

Remote IKernel
--------------

Launch IPython/Jupyter kernels on remote systems so that they can be
used with local noteboooks.

Kernels start through interactive queues on SGE clusters and
are tunneled to from the machine running the notebook.

Commands for managing the kernels are included.

Install with ``pip install remote_ikernel``.

.. code:: shell

# install the module (python setup.py install also works)
pip install remote_ikernel

# Set up the kernels you'd like to use
remote_ikernel manage

# add a new kernel running through GrideEngine
remote_ikernel manage --add \
--kernel_cmd="ipython kernel -f {connection_file}" \
--name="Python 2.7" --cpus=2 --pe=smp --interface=sge

# add an SSH connection to a remote machine
remote_ikernel manage --add \
--kernel_cmd="/remote/location/of/ipython kernel -f {connection_file}" \
--name="Python 2.7" --interface=ssh --host=me@remote.machine
--workdir='/home/me/Workdir'

The kernel spec files will be installed so that the new kernel appears in
the drop-down list in the notebook.

Changes for v0.2
================

* Connect to a host with ssh.
* Changed prefix to 'rik_'.
* kernel_cmd now requires the {connection_file} argument.
* ``remote_ikernel manage --show`` command to show existing kernels.
* Specify the working directory on the remote machine with ``--workdir``.
* ``kernel-uuid.json`` is copied to the working director for systems where
there is no access to the frontend filesystem.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remote_ikernel-0.2.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file remote_ikernel-0.2.tar.gz.

File metadata

  • Download URL: remote_ikernel-0.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for remote_ikernel-0.2.tar.gz
Algorithm Hash digest
SHA256 809d1bab55c74ebeb161576830fc9e233f45bc95d6c7dd793239333b69772648
MD5 99c1ea0cf4aba40350a7d4f4d952ef2d
BLAKE2b-256 0e6b13fd391f64f17a246e840862695503a095f70a197852545a3cf70c823767

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page