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

  • 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 106
comfortable interactive session, but every job submitted to this queue is executed on the LSF
execution host instead of the first allocated node.
Example 7-23 s hows this subtle difference. Note that the LSF execution h ost i n this example is
n20:
Example 7-23: Submitting an Interactive Shell Program on the LSF Execution
Host
$ bsub -Is -n4 -ext "SLURM[nodes=4]" -q noscript /bin/bash
Job <96> is submitted to default queue <noscript>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
$ hostname
n20
$ srun hostname
n1
n1
n2
n2
$ exit
$
7.7 LSF Equivalents of SLURM srun Options
Table 7-2 describes the srun options and lists their LSF equivalents.
Table 7-2: LSF Equivalents of SLURM srun Options
srun Option
Description
LSF Equivalent
-n, --ntasks=ntasks Number of processes (tasks) to run. bsub -n <num>
-c, --cpus-per-t
ask=ncpus
Number of CPUs per
task. Min CPUs
per node = MAX(ncp
us, mincpus)
HP XC does not prov
ide this option because
the meaning of this option can be covered by
“bsub –n” and “mincpus=n”.
-N, --nodes=min[-max] Minimum and maximum number
of nodes allocated to job. The
job allocation w ill at least contain
minimum number of nodes.
-ext “SLURM[nodes=min[-max]]”
--mincpus=n Specify minimum number of CPUs
per node. M in cpus per node =
MAX(-c ncpus, --mincpus=n).
Default value is 1.
-ext “SLURM[mincpus=n]”
--mem=MB
Specify a minimum amount of real
memory of each node. By default,
job does not require.
-ext “SLURM[mincpus=n]”
--tmp=MB
Specify a minimum amount of
temporary disk space of each node.
By default, job does not require -ext.
“SLURM[tmp=MB]”
-C, --constraint=list Specify a list of constraints. The
list may include multiple features
separatedby“&”or“|. &
represents ANDed, “|” represents
ORed. By default, job does not
require.
-ext “SLURM[constraint=list]”
Using LSF 7-23
Vue de la page 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 153 154

Commentaires sur ces manuels

Pas de commentaire