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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 154
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 105
Example 7-20: View Job Details in LS F (co n t. )
<normal>, 4 Processors Requested;
date and time stamp: Dispatched to 4 Hosts/Processors
<4*lsfhost.localdomain>
;
date and time stamp: slurm_id=105;ncpus=4;slurm_alloc=n[1-4];
date and time stamp: Starting (Pid 13938);
Summary of time in seconds spent in various states by date and time stamp
PEND PSUSP RUN USUSP SSUSP UNKWN TOTAL
90251000260
Example 7-21: Running Jobs from an xterm Window
$ hostname
n1
$ srun hostname
n1
n2
n3
n4
$ srun -n2 hostname
n1 n2
When you finish with your interactive session, exit from the terminal window. This completes
your job in LSF-HPC.
7.6.2 Submitting an Interactive Job to Launch a Shell
Yo u can submit an interactive shell, such as the Korn shell or bash,asthejobname parameter
when y ou submit a job to LSF-H PC; however, the int eracti on with the launched shell program
is limited. Example 7-22 shows such a job submission:
Example 7-22: Submitting an Interactive Shell Program
$ bsub -Is -n4 -ext "SLURM[nodes=4]" /bin/bash
Job <95> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>>
hostname
n1
srun hostname
n1
n1
n2
n2
exit
$
The ob vious lim itat ion is the absence of the shell prompt. Signal support is also l im ited.
The job starter script uses the srun command to execute a job on the first allocated node
instead of the LSF execution host. The srun command does not provide full tty support; it
simply executes the program it was given and sets up I/O connections for STDIN, STDOUT,
and STDERR of the program back to the launching process.
If this type of interaction is needed often, ask the system administrator to configure a special
queue in LSF-HPC that does not have a job starter script configured. This provides a more
7-22 Using LSF
Przeglądanie stron 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 153 154

Komentarze do niniejszej Instrukcji

Brak uwag