How can I integrate the Distributed Computing Toolbox with Sun Grid Engine (SGE) scheduler?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Oct 2013
NOTE: For the Distributed Computing Toolbox 3.1 (R2007a) and later releases, refer to the sample integration scripts and instructions located at:
$MATLABROOT\toolbox\distcomp\examples\integration\sge
where $MATLABROOT is the MATLAB root directory as returned by executing the following at the MATLAB prompt:
matlabroot
The Generic Scheduler Interface documentation which can be found by executing:
web([docroot '/toolbox/distcomp/bqur7ev-35.html'],'-helpbrowser')
For releases prior to MATLAB 7.4 (R2007a), read the following:
NOTE: The information below is a starting point for configuring the integration. SGE has not been fully qualified.
A requirement for the integration to work is that the cluster computers and the desktop computers have access to a shared file system.
The following information attached to this solution will help get you started with the integration:
1. gensched.pdf - Documentation for the interface of Distributed Computing Toolbox with 3rd party schedulers like SGE.
2. submitFunc.m and workerDecodeFunc.m - MATLAB files for Distributed Computing Toolbox integration. You will need to modify line 90 of submitFunc.m to use the path on your machine.
3. submit - UNIX shell script called by submitFunc.m
4. session.txt - Sample MATLAB commands to create and submit jobs using SGE. You will need to use the ClusterMatlabRoot that applies to your own machine.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!