Difference between revisions of "Biocluster Jupyter"
Jump to navigation
Jump to search
(→Jupyter) |
(→Custom Conda Environment) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
= Custom Conda Environment = | = Custom Conda Environment = | ||
− | * From Regular Command Line | + | * '''NOTE''' This must be done from the biologin nodes. It will fail on the compute nodes as they do not have access to the internet |
+ | * From Regular Command Line using SSH | ||
* Load Anaconda Module | * Load Anaconda Module | ||
<pre> | <pre> | ||
Line 11: | Line 12: | ||
* Create Conda Environment | * Create Conda Environment | ||
<pre> | <pre> | ||
− | conda create | + | conda create -p $HOME/testenv |
</pre> | </pre> | ||
* Activate Conda Environment | * Activate Conda Environment | ||
Line 25: | Line 26: | ||
ipython kernel install --user --name='testenv' | ipython kernel install --user --name='testenv' | ||
</pre> | </pre> | ||
− | * Open Jupyterhub at [https:// | + | * Open Jupyterhub at [https://bioapps3.igb.illinois.edu/jupyter https://bioapps3.igb.illinois.edu/jupyter] and start a server. |
* Your '''testenv''' kernel should be listed in the list of kernels | * Your '''testenv''' kernel should be listed in the list of kernels | ||
= References = | = References = |
Latest revision as of 10:31, 19 August 2024
Jupyter[edit]
- There is an installation of Jupyter which is accessible at https://bioapps3.igb.illinois.edu/jupyter
Custom Conda Environment[edit]
- NOTE This must be done from the biologin nodes. It will fail on the compute nodes as they do not have access to the internet
- From Regular Command Line using SSH
- Load Anaconda Module
module load Anaconda3
- Create Conda Environment
conda create -p $HOME/testenv
- Activate Conda Environment
conda activate $HOME/testenv
- Install ipython conda package
conda install ipykernel
- Install custom ipykernel module. This will install the kernel file into $HOME/.local/share/jupyter/kernels. This can be seen by jupyterhub
ipython kernel install --user --name='testenv'
- Open Jupyterhub at https://bioapps3.igb.illinois.edu/jupyter and start a server.
- Your testenv kernel should be listed in the list of kernels