User`s guide

How Parallel Computing Products Run a Job
6-7
same platform. The cluster can also be comprised of both 32-bit and 64-bit machines,
so long as your data does not exceed the limitations posed by the 32-bit systems. Other
limitations are described at http://www.mathworks.com/products/parallel-computing/
requirements.html.
In a mixed-platform environment, system administrators should be sure to follow the
proper installation instructions for the local machine on which you are installing the
software.
mdce Service
If you are using the MJS, every machine that hosts a worker or MJS session must also
run the mdce service.
The mdce service controls the worker and MJS sessions and recovers them when their
host machines crash. If a worker or MJS machine crashes, when the mdce service starts
up again (usually configured to start at machine boot time), it automatically restarts the
MJS and worker sessions to resume their sessions from before the system crash. More
information about the mdce service is available in the MATLAB Distributed Computing
Server documentation.
Components Represented in the Client
A client session communicates with the MJS by calling methods and configuring
properties of an MJS cluster object. Though not often necessary, the client session can
also access information about a worker session through a worker object.
When you create a job in the client session, the job actually exists in the MJS job storage
location. The client session has access to the job through a job object. Likewise, tasks that
you define for a job in the client session exist in the MJS data location, and you access
them through task objects.
Life Cycle of a Job
When you create and run a job, it progresses through a number of stages. Each stage of
a job is reflected in the value of the job object’s State property, which can be pending,
queued, running, or finished. Each of these stages is briefly described in this section.
The figure below illustrates the stages in the life cycle of a job. In the MJS (or other
scheduler), the jobs are shown categorized by their state. Some of the functions you use
for managing a job are createJob, submit, and fetchOutputs.