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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 154
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 93
The basic synopsis of the bsub command is:
bsub [ bsub_options] jobname [job_options]
The HP XC system has several features that make it o ptimal for running parallel applications,
particularly (but not exclusively) MPI applications. You can use the bsub command’s -n to
request more than one CPU for a job. This option, coupled with the external SLU R M scheduler,
discussedinSection7.4.2,givesyoumuchflexibility in selecting resources and shaping how
the job is executed on those resources.
LSF-HPC, like standard LSF, reserves the requested num ber of nodes and executes one instance
of the job on the first reserv ed n ode, w hen you request multiple no des. Use the srun command
or the mpirun comm and with the -srun option i n your jobs to launch p arallel applications.
The -srun can be set implicitly for the mpirun command; see Section 7.4.5 for more
information on using the mpirun -srun command.
Most parallel
applications rely on rsh or ssh to "launch" re mote tasks. The ssh utility is
installedont
he HP XC system by default. If you con fig ured the ssh keys to allow unprompted
access to othe
r nodes in the HP XC system , the parallel applications can u se ssh.
7.4.1 Summary of the LSF bsub Command Format
This section provides a summary of the fo rm at LSF bsub command on the HP XC system. The
bsub command can have the following formats:
bsub
When you invoke th e bsub command without any arguments, you are prompted for a
command from standard input.
bsub [bsub-options][srun ] jo bname [job-arguments]
This is the bsub command format t o submit a serial job. The srun command is required
to run parallel j obs on the allocated compute node. Refer to Section 7.4.3.
bsub -n num-procs [bsub-options] jobname [job-argu ments ]
This is the standard bsub comm and format to submit a par allel job to LSF execution host.
The jobname parameter can be name of an executable or a batch script. If jobname
is executable, job is launched on LSF execution host node. If jobname is batch script
(containing srun commands), job is launched on LSF node allocation (com pute nodes).
LSF n ode allocation is created by -n num-procs parameter, which specifies the number
of processors the job requests. Refer to Section 7.4.4 for information about running jobs.
Refer to Section 7.4.6 for information about running scripts.
bsub -n num-procs [bsub-op tions ] srun [srun-options] jo bname [job-arguments]
This is the bsub command format to subm it a parallel job to LSF node allocation (compute
nodes). LSF node allocation is created by -n num-procs parameter, which specifies the
number of processors the job requests. srun comm and is required to run jobs on LSF n ode
allocation. Refer to Section 7.4.4.
bsub -n num-procs [bsub-options] mpirun [mpirun-options] -srun
[srun-options] mpi-jobname [job-options]
This is the bsub command format to submit an HP-MPI job. The -srun option is
required. Refer to Section 7.4.5.
bsub -n num-procs -ext "SLURM[slurm-arguments]" [bsub-options]
[srun [srun-options]] jobname [job-options]
This is the bsub command format to subm it a parallel job to LSF node allocation (compute
nodes) using the external scheduler option. The external scheduler option provides
7-10 Using LSF
Przeglądanie stron 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 153 154

Komentarze do niniejszej Instrukcji

Brak uwag