slurm:ai
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
slurm:ai [2021/08/10 10:46] – [Storage] kauffman | slurm:ai [2022/04/04 10:58] (current) – fix typos and add code snippet for interactive jupyter notebook chaochunh | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== AI Cluster - Slurm ====== | ====== AI Cluster - Slurm ====== | ||
- | Cluster is up and running now. Anyone with a CS account who wishes | + | Please send in a ticket requesting |
Line 66: | Line 66: | ||
====== Login ====== | ====== Login ====== | ||
- | Anyone with a CS account is allowed to login. | + | Anyone with a CS account |
There are a set of front end nodes that give you access to the Slurm cluster. You will connect through these nodes and need to be on these nodes to submit jobs to the cluster. | There are a set of front end nodes that give you access to the Slurm cluster. You will connect through these nodes and need to be on these nodes to submit jobs to the cluster. | ||
Line 168: | Line 168: | ||
Make a new ssh connection to tunnel your traffic. The format will be something like: | Make a new ssh connection to tunnel your traffic. The format will be something like: | ||
- | '' | + | '' |
This command will appear to hang since we are using the -N option which tells ssh not to run any commands including a shell on the remote machine. | This command will appear to hang since we are using the -N option which tells ssh not to run any commands including a shell on the remote machine. | ||
Line 182: | Line 182: | ||
- Make a new ssh connection with a tunnel to access your notebook | - Make a new ssh connection with a tunnel to access your notebook | ||
- '' | - '' | ||
- | - This will make an ssh tunnel on your local machine that fowards | + | - This will make an ssh tunnel on your local machine that forwards |
- Open your local browser and visit: '' | - Open your local browser and visit: '' | ||
+ | Copy the following code snippt to the interactive node directly: | ||
+ | < | ||
+ | unset XDG_RUNTIME_DIR | ||
+ | NODEIP=$(hostname -i) | ||
+ | NODEPORT=$(( $RANDOM + 1024)) | ||
+ | echo "ssh command: ssh -N -L 8888: | ||
+ | jupyter-notebook --ip=$NODEIP --port=$NODEPORT --no-browser | ||
+ | </ | ||
====== Contribution Policy ===== | ====== Contribution Policy ===== | ||
This section can be ignored by most people. [[techstaff: | This section can be ignored by most people. [[techstaff: | ||
/var/lib/dokuwiki/data/attic/slurm/ai.1628610379.txt.gz · Last modified: 2021/08/10 10:46 by kauffman