techstaff:slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
techstaff:slurm [2016/01/05 09:01] – [More] kauffman | techstaff:slurm [2016/01/11 08:13] – [sbatch] kauffman | ||
---|---|---|---|
Line 123: | Line 123: | ||
#!/bin/bash | #!/bin/bash | ||
# | # | ||
- | #SBATCH --mail-user=user@cs.uchicago.edu | + | #SBATCH --mail-user=cnetid@cs.uchicago.edu |
#SBATCH --mail-type=ALL | #SBATCH --mail-type=ALL | ||
- | #SBATCH --output=/ | + | #SBATCH --output=/ |
- | #SBATCH --error=/ | + | #SBATCH --error=/ |
- | #SBATCH --workdir=/ | + | #SBATCH --workdir=/ |
#SBATCH --partition=debug | #SBATCH --partition=debug | ||
#SBATCH --job-name=check_hostname_of_node | #SBATCH --job-name=check_hostname_of_node | ||
Line 140: | Line 140: | ||
man sbatch | man sbatch | ||
- | Make sure to replace all instances of the word '' | + | Make sure to replace all instances of the word '' |
==== srun ==== | ==== srun ==== | ||
Line 203: | Line 203: | ||
This command: | This command: | ||
- | srun -p general --pty --mem 500 -t 0-06:00 /bin/bash | + | srun -p general --pty --cpus-per-task 1 --mem 500 -t 0-06:00 /bin/bash |
will start a command line shell ('' | will start a command line shell ('' | ||
- | |||
====== Job Scheduling ====== | ====== Job Scheduling ====== | ||
/var/lib/dokuwiki/data/pages/techstaff/slurm.txt · Last modified: 2021/01/06 16:13 by kauffman