Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Solutions Academia Support User Community Company
spacer spacer spacer spacer spacer spacer

Technical Solutions

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


Date Last Modified: Friday, June 26, 2009
Solution ID:   1-2MC1RY
Product:   Parallel Computing Toolbox
Reported in Release:   R14SP3+
Platform:   UNIX
Operating System:   UNIX Any
 

Subject:

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

Problem Description:

I am currently using a SGE scheduler and I would like to integrate the Distributed Computing Toolbox with it.

Solution:

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 - M 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.

 

Related Documents/Files:

Please provide feedback to help us improve this Solution
Contact support
E-mail this page
Print this page