Hp XC System 2.x Software Manuel d'utilisateur Page 77

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 76
6.4.5 srun Control Options
srun control options determine how a SLURM job manages its nodes and other resources,
what its work ing features (such as job n ame) are, and how it gives you help. Separate
"constraint" options and I/O options are available and are described in other sections of this
chapter. The following types of control options are availab le:
Node management
Working features
Resource control
Help options
6.4.5.1 Node Management Options
-k (--no-kill)
The -k option av oid s automatic terminatio n if any node fails that has been allocat ed to thi s job.
The jo b assumes responsibility for handling s uch node failures internally. (SLURM’s default is
to terminate a job if any of its allocated nodes fail.)
-m dist (--distribution=dist)
The -m opti on tells SLURM how to distribute tasks am ong nodes for this job. The choices f or
dist are either block or cyclic.
block Assigns tasks in order to each CPU on one node before assigning any to the
next node. This is the default if the number o f tasks exceeds the number of
nodes requested.
cyclic Assigns tasks "round robin" across all allocated no des (task 1 goes to the first
node, task 2 goes to the second node, and so on). This is the default if the number
of nodes requested equals or exceeds t he number of tasks.
-r n (--relative=n)
The -r option o ffsets the f ir st job step to node n of this jo b’s allocated node set (where the first
node is 0). Option -r is incompatible with "constraint" options -w and -x, and it is ignored
when you run a job without a prior node allocation (default for n is 0).
-s (--share)
The -s option allows this job to share nodes with oth er running jobs. Sharing nodes often starts
the job faster and boosts system utilization, but it can also lower application performance.
6.4.5.2 Working Features Options
-D path (--chdir=path)
The -D option causes each remote process to change its default directory to path (by using
CHDIR) before it begins execution (without -D, the current w orking directory of srun
becomes the default directory for each process).
-d level (--slurmd-debug=level)
The -d option s pecifies level as the level at w h ich daemon SLURMD reports debug information
and deposits it in this job’s stderr location. Here, level can be any integer between 0 (quiet,
reports only errors, the default) and 5 (extremely verbose messages).
Using SLURM 6-7
Vue de la page 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 153 154

Commentaires sur ces manuels

Pas de commentaire