Cypress CSC-1200T Podręcznik Użytkownika Strona 82

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 81
82 Cray T3E User’s Guide
# QSUB -l p_mpp_t=7000
# QSUB
cd $HOME/sn6309
mpprun -n $NPES ./mmloop 6000 6000
First, the given command shell (here /bin/ksh) is used to run the script.
The default shell is /bin/sh. These two shells are recommended.
The option -q tells the NQE system which queue the job should be sent
to. Here we have requested the prime queue. At the moment this is the
only queue a normal user on the T3E can submit jobs to. This queue
redirects the request to the batch queue small (maximum limits:64-PE
and 2 hours), medium (64-PE, 12 hours) or large (128-PE, 12 hours).
The option -l specifies certain limits for the batch job: mpp_p is the
maximum number of processors, mpp_t is the maximum execution time
for all the programs in the script, and p_mpp_t is the maximum process
time for any program in the script. It is mandatory to specify mpp_p and
mpp_t either in the T3E job script or as qsub command line options.
These options are covered in more detail in Table 8.1.
qsub option Meaning
-q queue The job is run in the given batch queue.
-r name The name of the batch job.
-lT time Maximum single processor time for the job
to be run. Should be at least same as mpp_t.
-l mpp_p=xx The number of PEs requested for the job. This
number is available later in the script in
the environment variable $NPES.
-l mpp_t=yyy Maximum execution time of
all the programs in the script.
-l p_mpp_t=yyy Maximum processing time of any
single program in the script.
-e file Name of the error file. Default name of the
error file is name.erequest-id.
-o file Name of the output file. Output to terminal
is redirected to this file. Default output
file name is name.orequest-id.
-eo Combines error messages to the output file.
-s shell Selects the command shell.
Table 8.1: Some qsub options.
After the options you have to specify the commands to be executed. In
the example the first command (cd) changes the current directory to
$HOME/sn6309. The parallel program mmloop is run with the mpprun
command. Here the environment variable $NPES indicates the number
of PEs allocated for the batch job (16 in the case above).
Przeglądanie stron 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 123 124

Komentarze do niniejszej Instrukcji

Brak uwag