MATLAB DISTRIBUTED COMPUTING SERVER 4 - SYSTEM ADMINISTRATORS GUIDE Manuale Utente Pagina 94

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 148
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 93
3 Prod uct Installation
Configure Sun Grid Engine on Linux Cluster
To run communicating jobs with MATLAB Distributed Computing Server
and Sun™ Grid Engine (SGE), you need to establish a “matlab” parallel
environment for SG E. The “matlab” parallel environment d escribe d in
these instructions is based on the MPI” example shipped with SGE. To
use this parallel environment, you must use the
matlabpe.template,
customized to match the number of slots available, and to indicate where
the
startmatlabpe.sh and stopmatlabpe.sh scripts are ins talled on your
cluster.
In the following instruction s,
matlabroot refers to the MATLAB installation
location.
Create the Parallel E nvironment
The following steps create the parallel environment (PE), and then make the
parallel environment runnable on a particular queue. You should perform
these steps on the head n ode of your cluster.
1 Navigate to the folder of the integration files appropriate for your cluster:
shared, nonsh ared ,orremoteSubmission, with one of the following shell
commands.
cd ma tlabroot/toolbox/distcomp/examples/integration/sge/shared
cd
matlabroot/toolbox/distcomp/examples/integration/sge/nonshared
cd
matlabroot/toolbox/distcomp/examples/integration/sge/remoteSubmission
2 Modify the contents of mat labp e.template to use the desired number
of slots and the correct location of the
startmatlabpe.sh and
stopmatlabpe.sh files. (These files can exist in a shared location accessible
by all hosts, or they can be copied to the same local on each host.) You can
also change other values or add additional values to
matlabpe.template to
suit your cluster. For more information, refer to the sge_pe documentation
provided with your sche duler.
3 Add the “matlab” parallel environment, using a shell command like:
qconf -Ap matlabpe.template
4 Make the “matlab” parallel environment runnable on all queues:
3-46
Vedere la pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 147 148

Commenti su questo manuale

Nessun commento