Difference between revisions of "BwUniCluster2.0/Batch System Migration Guide"

From bwHPC Wiki
Jump to: navigation, search
(Serial Programs)
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

1 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.

2 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.