Last active
December 4, 2015 20:23
-
-
Save icaoberg/2c36fe6cbdfe48328c69 to your computer and use it in GitHub Desktop.
Requesting an interactive session on lanec1.compbio.cs.cmu.edu using SLURM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# -c, --cpus-per-task=ncpus --> number of cpus required per task | |
# --pty --> run task zero in pseudo terminal | |
#request a session on short1 | |
srun --partition=short1 --nodes=1 --cpus-per-task=1 --ntasks-per-node=1 --pty bash | |
#request a session on interactive | |
srun --partition=interactive --nodes=1 --cpus-per-task=1 --ntasks-per-node=1 --pty bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment