Hp XC System 3.x Software Manual de usuario Pagina 48

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 133
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 47
launched on LSF-HPC node allocation (compute nodes). LSF-HPC node allocation is created by -n
num-procs parameter, which specifies the number of cores the job requests.
The SLURM srun job launch command is only needed if the LSF-HPC JOB_STARTER script is not
configured for the intended queue, but it can be used regardless of whether or not the script is configured.
You can use the bqueues command to confirm whether or not the JOB_STARTER script exists; see bqueues(1)
for information on the bqueues command.
Example 5-1 invoking the bsub command after which a job can be entered from the standard input.
Example 5-1 Submitting a Job from the Standard Input
bsub
Example 5-2 shows the submission and launch of a serial interactive job and its output.
Example 5-2 Submitting a Serial Job Using LSF-HPC
$ bsub -I srun hostname
Job <20> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
n1
Example 5-3 shows the submission of an interactive serial job without the SLURM srun command and
the job output.
Example 5-3 Submitting an Interactive Serial Job Using LSF-HPC only
$ bsub -I hostname
Job <73> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
n1
Example 5-4 uses the LSF-SLURM External Scheduler to submit a job to run on four cores on two specific
compute nodes.
Example 5-4 Submitting an Interactive Serial Job Using LSF-HPC and the LSF-SLURM External Scheduler
$ bsub -I -n4 -ext "SLURM[nodelist=n[14,16]]" srun hostname
Job <9> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
n14
n14
n16
n16
5.2.2 Submitting a Serial Job Through SLURM Only
This section describes how to build a simple hello world application, called hw_hostname, execute it
on the login node, and launch it with the SLURM srun command.
The following is the C source code for this program; the file name is hw_hostname.c.
#include <unistd.h>
#include <stdio.h>
int main()
{
char name[100];
gethostname(name, sizeof(name));
printf("%s says Hello!\n", name);
48 Submitting Jobs
Vista de pagina 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 132 133

Comentarios a estos manuales

Sin comentarios

Canon EF-M 22mm f/2 STM manuály

Uživatelské manuály a uživatelské příručky pro DVD přehrávače Canon EF-M 22mm f/2 STM.
Poskytujeme manuály pdf Canon EF-M 22mm f/2 STM ke stažení zdarma podle typů dokumentů:






Další produkty a příručky pro DVD přehrávače Canon

Modely Typ Dokumentu
Žádný