Installation guide
Configure Sun™ Grid Engine o n Linux
®
Cluster
Configure Sun Grid Engine on Linux Cluster
To run parallel jobs with MATLAB Distributed Computing Server and Sun™
Grid Engine (SGE ), you n eed to establish a “matlab” parallel environment
for SGE. The “matlab” parallel environment described in these instructions
is based on the “MPI” examp le shipped w ith SGE. To use this parallel
environment, you must use the
matlabpe.template,customizedtomatchthe
number of slots available, and to indicate where the
startmatlabpe.sh and
stopmatlabpe.sh scripts are installed on your cluster.
In the following instructions,
matlabroot refers to the MA TLAB 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, nonshared,orremoteSubmission, with one of the following shell
commands.
cd matlab root/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.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 a ccessible
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:
5-7
For help, contact the MathWorks install support team at
508-647-7000 or http://www.mathworks.com/support/contact_us