A custom IPython magic extension for Airavata to recute local notebooks on clusters
Project description
Airavata Magic Extension to run local Jupyter Notebooks on Clusters
Installation
pip install airavata_jupyter_magic
Usage
Load the extension in the notebook
%load_ext airavata_jupyter_magic
Initialize the remote cluster job
%init_remote cluster=jetstream cpu=2 memory=2GB
Run remote cell
%%run_remote
# Your code here
a = 10 + a
print(a)
Terminate the remote cluster job and the connection
%terminate_remote
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
Built Distribution
Close
Hashes for airavata_jupyter_magic-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4902c3c6a2162bc6ff2e8342dbe8eb22e6e3a8f2f41d0c24f26919ba3b3dd928 |
|
MD5 | fc83037cbd1a5b88005356c008a4d382 |
|
BLAKE2b-256 | 6f0d0db0e79f4cb4a6f792cf957f71e183606253faef83438529ca77a683c5bb |
Close
Hashes for airavata_jupyter_magic-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6532c43e4801f4711cd0be536d87107f615071f3360b96cb79d395ddd317ba8a |
|
MD5 | 4ade0997ad34e5755b112eaab6a06c30 |
|
BLAKE2b-256 | 0c42de2be063b42dde8e21e75183ae0f4bce5be2de539168044da1f89c92797e |