MATLAB DISTRIBUTED COMPUTING SERVER 4 - SYSTEM ADMINISTRATORS GUIDE Guida di Installazione Pagina 59

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 67
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 58
Configure Sun Grid Engine on Linux Cluster
Configure Sun Grid Engine on Linux Cluster
To run parallel jobs with MATLAB Distributed Computing Server and Sun™
Grid Engine (SGE), you need to establish a “matlab” parallel environm ent
for SGE. The “matlab” parallel environment described in these instructions
is based on the “MPI” exam p le shipped w ith SGE. To use this parallel
environment, you must u se the
matlabpe.template,customizedtomatchthe
number of slots available, and to indicate w here the
startmatlabpe.sh and
stopmatlabpe.sh scripts are installed on your cluster.
In the following instructions ,
matlabroot refers to the MATLAB installation
location.
Create the Parallel Environment
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 matlabr oot/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 matlabpe.templa te 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 access ib le
by all hosts, or they can be copied to the s ame 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 scheduler.
3 Add the “matlab” parallel environment, using a shell command like:
qconf - Ap matlabpe.temp late
4 Make the “matlab” parallel environment runnable on all queues:
5-7
For help, contact the MathWorks install support team at
508-647-7000 or http://www.mathworks.com/support/contact_us
Vedere la pagina 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 65 66 67

Commenti su questo manuale

Nessun commento