Created
December 28, 2015 06:32
-
-
Save icaoberg/61e3995acb7497848d76 to your computer and use it in GitHub Desktop.
Request an interactive session in partition "short1" #cbd #lane #cluster
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
# example_interactive-session0001.sh | |
# | |
# 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 on short1 | |
srun --partition=short1 --nodes=1 --cpus-per-task=1 --mem=1024Mb --ntasks-per-node=1 --pty bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment