BwUniCluster2.0/Batch System Migration Guide: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 12: | Line 12: | ||
A serial program is started running 60 minutes exclusively on a batch node. |
A serial program is started running 60 minutes exclusively on a batch node. |
||
<br> |
<br> |
||
<br> |
|||
=Multithreaded Programs= |
=Multithreaded Programs= |
||
Revision as of 12:11, 13 March 2020
Serial Programs
- Use the time option -t or --time (instead of -l walltime). If only one number is entered behind -t, the default unit is minutes.
- Use the option -n 1 or --ntasks=1 (instead of -l nodes=1,ppn=1).
- Use the option -m or --mem (instead of -l pmem). The default unit is MegaByte.
- If you want to use one node exclusively, you must enter the whole memory (-m 96327 or --mem=96327).
Example for a serial job
$ sbatch -p single -t 60 -n 1 -m 96327 ./job.sh
A serial program is started running 60 minutes exclusively on a batch node.
Multithreaded Programs
- Use the time option -t or --time (instead of -l walltime). If only one number is entered behind -t, the default unit is minutes.
- Use the option -n 1 or --ntasks=1 (instead of -l nodes=1,ppn=1). A number between 1 and 40 can be entered (because of 40 cores within one node); a number between 41 and 80 can also be entered (because of active hyperthreading).
- Use the option -m or --mem (instead of -l pmem). The default unit is MegaByte.
- If you want to use one node exclusively, you must enter the whole memory (-m 96327 or --mem=96327).
Example for a serial job
$ sbatch -p single -t 60 -n 1 -m 96327 ./job.sh
A serial program is started running 60 minutes exclusively on a batch node.