Changes between Version 13 and Version 14 of Public/User_Guide/Batch_system


Ignore:
Timestamp:
Nov 28, 2017, 2:00:40 PM (6 years ago)
Author:
Anke Kreuzer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Public/User_Guide/Batch_system

    v13 v14  
    232232}}}
    233233
     234With this the same number of processes will be launched on all allocated nodes. With the following example the number of processes per node can be different for each partition. one node of the sdv partition and one of the knl partition is allocated here. The -m plane=X option sets the number of processes on the first part of nodes (in this case 4 and then 1 process is left for the knl node, because -n is set to 5):
     235
     236{{{
     237-bash-4.1$ srun --partition=extoll -N2 -n 5 -C '[sdv*1&knl*1]' -m plane=4 hostname
     238deeper-sdv16
     239deeper-sdv16
     240deeper-sdv16
     241deeper-sdv16
     242knl01
     243}}}
     244
     245To change the node where to start your job (e.g. start on one partition and then spawn the rest of the processes later within your code) please use the -r option for srun.
     246
     247{{{
     248-bash-4.1$ salloc --partition=extoll -N2 -n 5 -C '[sdv*1&knl*1]' -m plane=4
     249salloc: Granted job allocation 5581
     250-bash-4.1$ srun -n 1 -r 1 hostname
     251knl02
     252}}}
    234253
    235254== pbs/slurm dictionary ==