Skip to content

Instantly share code, notes, and snippets.

@ihrke
Created May 30, 2017 07:00
Show Gist options
  • Select an option

  • Save ihrke/376edd43ac046548652b2ef37160e335 to your computer and use it in GitHub Desktop.

Select an option

Save ihrke/376edd43ac046548652b2ef37160e335 to your computer and use it in GitHub Desktop.
run jupyter notebook on stallo
## install everything (see other snippet)
# submit interactive job: http://hpc.uit.no/docs/guides/user/jobs
qsub -q express -I -lnodes=1,walltime=8:00:00
# start notebook on computing machine
source local/python/ipy3/bin/activate
ipython notebook --no-browser --port=8889
# on stallo login-node, enable port-forwarding:
stallo$ ssh -N -n -L localhost:8889:localhost:8889 c14-6
# on localhost, tunnel to stallo login-node
ssh -N -n -L localhost:8890:localhost:8889 stallo
## access in browser at port 8890
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment