Snippets

Ivan E. Request an interactive session in partition 'short1' #cbd #lane #cluster

Created by Ivan E. last modified
# These are some of the options you can use when requesting an interactive session
# -p, --partition=partition --> partition requested (the current public partitions include short1 and interactive)
# -N, --nodes=N --> number of nodes on which to run (N = min[-max])
# --ntasks-per-node --> number of tasks per node
# --mem=MB --> minimum amount of real memory
# -c, --cpus-per-task=ncpus --> number of cpus required per task
# --pty --> run task zero in pseudo terminal

#WARNING: short1 is a partition made of virtual machines. these resources have been allocated to perform 
#simple tasks, e.g. removing files, editing files, compression, decompression, downloads, etc. The nodes in this 
#partition can be reserved for a maximum of 2 hours (120 minutes).

#request a session in short1
srun --partition=short1 --nodes=1 --cpus-per-task=1 --mem=1024Mb --ntasks-per-node=1 --pty bash

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.