This article will guide you to run Jupyter Notebook via Miniconda on a LANTA HPC system, which requires ssh tunneling to the LANTA HPC.
Table of Contents |
---|
Creating an environment to run the Jupyter Notebook
Load Miniconda module
Use the
ml av Miniconda
command to see which version of Miniconda is available on the LANTA HPC system.Use the
ml Miniconda3/xx.xx.x
command to load the Miniconda version that you want to use. If you don't specify a version, the default version (D) is loaded, which is Miniconda3/22.11.1-1.
...
Use the
conda install jupyter
command to install jupyter in the myenv environment.If you want to install other packages such as tensorflowTensorFlow-gpuGPU, you can use the
conda install -c anaconda tensorflow-gpu
command to install tensorflowTensorFlow-gpu GPU in the myenv environment.
Code Block |
---|
(myenv) username@lanta:~> conda install jupyter ... (myenv) username@lanta:~> conda install -c anaconda tensorflow-gpu ... |
Running Jupyter Notebook via ssh tunneling
Example of Slurm script for running Jupyter Notebook
...
Code Block |
---|
http://127.0.0.1:8714/?token=2923d6fab4ef109f30e63a77014e632eed3fd2a5fa561929 |
...
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...