Hp XC System 2.x Software Instrukcja Użytkownika Strona 96

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 154
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 95
Example 7-2: Using the External Scheduler to Submit a Job to Run on Specific
Nodes
$ bsub -n4 -ext "SLURM[nodelist=n6,n8]" -I srun hostname
Job <70> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
n6
n6
n8
n8
In the previous example, the job output shows that th e job was launch ed from the LSF execution
host lsfhost.localdomain, and it ran on four nodes using the specified nodes n6 and n8
as two of the four nodes.
Consider an HP XC system configuration in w hich lsfhost.localdomain is the LSF
execution host and nodes n[1-10] are compute nodes in the lsf partition. All n odes contain
2 processors, providing 20 processors for use by LSF jobs.
Example 7-3 shows one way to submit a parallel job to run one task per node.
Example 7-3: Using the External Scheduler to Submit a Job to Run One Task
per Node
$ bsub -n4 -ext "SLURM[nodes=4]" -I srun hostname
Job <71> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
n1
n2
n3
n4
In the previous example, the job output shows that th e job was launch ed from the LSF execution
host lsfhost.localdomain, and it ran on four processors on four different nodes (one
task per node).
Consider an HP XC system configuration in w hich lsfhost.localdomain is the LSF
execution host and nodes n[1-10] are compute nodes in the lsf partition. All n odes contain
2 processors, providing 20 processors for use by LSF jobs.
Example 7-4 shows one way t o submit a parallel job to av oid run nin g on a particular node. Note
that this command could have been written to exclude additional nodes.
Example 7-4: Using the External Scheduler to Submit a Job That Excludes One
or More Nodes
$ bsub -n4 -ext "SLURM[nodes=4; exclude=n3]" -I srun hostname
Job <72> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
n1
n2
n4
n5
7-12 Using LSF
Przeglądanie stron 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 153 154

Komentarze do niniejszej Instrukcji

Brak uwag