Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We have adopted these instructions from Princeton Research Computing HPC wiki page. We acknowledge it as the source and the page to go to for running jupyter notebooks on HPC.


Installation

Using Conda Environments: create a Conda environment on the login node

No Format
source /usr/local/bin/s3proxy.sh  #To gain internet access on the login node
module load anaconda3/2021.11
conda create --name snumber-tf-cpu ipykernel tensorflow pandas matplotlib
(e.g: conda create --name s123456-tf-cpu ipykernel tensorflow pandas matplotlib)
exit

...

No Format
module load anaconda3/2021.11
source activate <you environment>   #e.g source activate s123456-tf-cpu
conda install <another-package-1> <another-package-2>
conda deactivate
exit
For some packages you will need to add the conda-forge channel or even perform the installation using pip as the last step.


Using

...

Widgets

conda create --name widg-env --channel conda-forge matplotlib jupyterlab ipywidgets ipympl

Usage

...