Job and Task Creation
|Create cluster object|
|Run MATLAB script or function on worker|
|Create independent job on cluster|
|Create communicating job on cluster|
|Create new job from existing job|
|Create new task in job|
|Examine or set default cluster profile (Since R2022b)|
|List available cluster profiles (Since R2022b)|
|Import cluster profiles from file|
|File for user-defined options to run on each worker when parallel pool starts|
|File for user-defined options to run when job starts|
|User-defined options to run on worker when task starts|
|User-defined options to run on worker when task finishes|
|Configure settings for Parallel Computing Toolbox client session or MATLAB Parallel Server workers|
|Location of MPI implementation|
|Configure options for MPI communication|
Examples and How To
- Choose Batch Processing Function
Decide which batch programming construct to use to offload work to a cluster.
- 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 Workers
Find out how to pass data and code to and from the workers.
- Apply Callbacks to MATLAB Job Scheduler Jobs and Tasks
The MATLAB® Job Scheduler has the ability to trigger callbacks in the client session whenever jobs or tasks in the MATLAB Job Scheduler cluster change to specific states.
- How Parallel Computing Software Runs 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 on Workers
The random number generation functions
randnbehave differently for parallel calculations compared to your MATLAB client.