You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
596 B
23 lines
596 B
6 years ago
|
#!/bin/bash --login
|
||
|
#
|
||
|
# Run script to start Jupyter notebook process on compute node.
|
||
|
# This script is intended to be submitted to SLURM via sbatch.
|
||
|
# WARNING: I recommend setting up a password via:
|
||
|
#
|
||
|
# jupyter notebook --password
|
||
|
#
|
||
|
# before running the notebook process, as the notebook server WILL
|
||
|
# listen to incoming connections from ANY origin.
|
||
|
# (This is so that web browser on user's local computer can be
|
||
|
# used to connect to the notebook via SSH tunneling.)
|
||
|
#
|
||
|
# Wirawan Purwanto
|
||
|
# Created: 20180621
|
||
|
#
|
||
|
|
||
|
enable_lmod
|
||
|
module load anaconda2/4.3
|
||
|
|
||
|
jupyter notebook --no-browser --ip=* "$@"
|
||
|
|