Job and Task Creation

Create a job and define its tasks

Functions

parclusterCreate cluster object
batchRun MATLAB script or function on worker
createJobCreate independent job on cluster
createCommunicatingJobCreate communicating job on cluster
recreateCreate new job from existing job
createTaskCreate new task in job
parallel.defaultClusterProfileExamine or set default cluster profile
parallel.importProfileImport cluster profiles from file
poolStartupFile for user-defined options to run on each worker when parallel pool starts
jobStartupFile for user-defined options to run when job starts
taskStartupUser-defined options to run on worker when task starts
taskFinishUser-defined options to run on worker when task finishes
pctconfigConfigure settings for Parallel Computing Toolbox client session
mpiLibConfLocation of MPI implementation
mpiSettingsConfigure options for MPI communication

Classes

parallel.ClusterAccess cluster properties and behaviors
parallel.FutureRequest function execution on parallel pool workers
parallel.JobAccess job properties and behaviors
parallel.TaskAccess task properties and behaviors

Examples and How To

Program a Job on a Local Cluster

Manually create and run jobs.

Program Independent Jobs

The tasks in an independent job do not directly communicate with each other and are independent.

Program Communicating Jobs

Discover the differences between independent and communicating jobs

Share Code with the Workers

Find out how to pass data and code to and from the workers.

Apply Callbacks to MJS Jobs and Tasks

The MATLAB® job scheduler (MJS) has the ability to trigger callbacks in the client session whenever jobs or tasks in the MJS cluster change to specific states.

Concepts

How Parallel Computing Products Run a Job

Explore the life cycle of a job.

Programming Tips

Provides helpful hints for good programming practice

Job Monitor

Manage your jobs using the Job Monitor

Control Random Number Streams

By default, each worker in a cluster working on the same job has a unique random number stream.

Was this topic helpful?