Last modified: September 07 2020.
Contact: hpchelp [at] iitd.ac.in

JUPYTER NOTEBOOK

Login to the HPC

Submit a Interactive Job (CPU or GPU Job as per your requirement)

e.g, qsub -I -P cc -q standard -lselect=1:ncpus=4 -lwalltime=00:30:00

After getting the resources , you will land on one of the node

e.g, chas102

Load any of available anaconda module as per your requirement :

For Python 2.7 : module load apps/anaconda/2
For Python 3 : module load apps/anaconda/3

Copy exactly the below mentioned command & run: (No changes required)

jupyter notebook --ip=e$(hostname).hpc.iitd.ac.in --no-browser
NOTE: Here 'e' indicates the ethernet

It will show result similar to:

To access the notebook, open this file in a browser:
file:///run/user/85368/jupyter/nbserver-13953-open.html
Or copy and paste one of the URL:
  http://echas102.hpc.iitd.ac.in:8888/?token=0a5da675d3174fda463d2bbc48edfb89ecbbf404a09b6985

Copy the url which contains hpc.iitd.ac.in to your desktop/laptop browser and press enter :

e.g., http://echas102.hpc.iitd.ac.in:8888/?token=0a5da675d3174fda463d2bbc48edfb89ecbbf404a09b6985

NOTE :Here echas102.hpc.iitd.ac.in is taken as an example. Please use the actual node assigned to the job.
The assigned node can be checked by qstat -n jobid .