User`s guide
7 Program Independent Jobs
7-8
Program Independent Jobs for a Supported Scheduler
In this section...
“Create and Run Jobs” on page 7-8
“Manage Objects in the Scheduler” on page 7-13
Create and Run Jobs
This section details the steps of a typical programming session with Parallel Computing
Toolbox software using a supported job scheduler on a cluster. Supported schedulers
include the MATLAB job scheduler (MJS), Platform LSF (Load Sharing Facility),
Microsoft Windows HPC Server (including CCS), PBS Pro, or a TORQUE scheduler.
This section assumes you have anMJS, LSF, PBS Pro, TORQUE, or Windows HPC
Server (including CCS and HPC Server 2008) scheduler installed and running on
your network. For more information about LSF, see http://www.platform.com/
Products/. For more information about Windows HPC Server, see http://
www.microsoft.com/hpc. With all of these cluster types, the basic job programming
sequence is the same:
• “Define and Select a Profile” on page 7-8
• “Find a Cluster” on page 7-9
• “Create a Job” on page 7-10
• “Create Tasks” on page 7-11
• “Submit a Job to the Job Queue” on page 7-12
• “Retrieve Job Results” on page 7-12
Note that the objects that the client session uses to interact with the MJS are only
references to data that is actually contained in the MJS, not in the client session. After
jobs and tasks are created, you can close your client session and restart it, and your job
is still stored in the MJS. You can find existing jobs using the findJob function or the
Jobs property of the MJS cluster object.
Define and Select a Profile
A cluster profile identifies the type of cluster to use and its specific properties. In a
profile, you define how many workers a job can access, where the job data is stored,