Skip to Main Content Skip to Search
Product Documentation

paralleljob - Define parallel job behavior and properties when using job manager

Constructor

createParallelJob

Container Hierarchy

Parent

jobmanager object

Children

task objects

Description

A paralleljob object contains all the tasks that define what each lab does as part of the complete job execution. A parallel job runs simultaneously on all labs and uses communication among the labs during task evaluation. A paralleljob object is used only with a job manager as scheduler.

Methods

cancelCancel job or task
createTaskCreate new task in job
destroyRemove job or task object from parent and memory
diaryDisplay or save Command Window text of batch job
findTaskTask objects belonging to job object
getAllOutputArgumentsOutput arguments from evaluation of all tasks in job object
loadLoad workspace variables from batch job
submitQueue job in scheduler
waitWait for job to change state or for GPU calculation to complete
waitForStateWait for object to change state

Properties

AuthorizedUsersSpecify users authorized to access job
ConfigurationSpecify configuration to apply to object or toolbox function
CreateTimeWhen task or job was created
FileDependenciesDirectories and files that worker can access
FinishedFcnSpecify callback to execute after task or job runs
FinishTimeWhen task or job finished
IDObject identifier
JobDataData made available to all workers for job's tasks
MaximumNumberOfWorkersSpecify maximum number of workers to perform job tasks
MinimumNumberOfWorkersSpecify minimum number of workers to perform job tasks
NameName of job manager, job, or worker object
ParentParent object of job or task
PathDependenciesSpecify directories to add to MATLAB worker path
QueuedFcnSpecify function file to execute when job is submitted to job manager queue
RestartWorkerSpecify whether to restart MATLAB workers before evaluating job tasks
RunningFcnSpecify function file to execute when job or task starts running
StartTimeWhen job or task started
StateCurrent state of task, job, job manager, or worker
SubmitTimeWhen job was submitted to queue
TagSpecify label to associate with job object
TasksTasks contained in job object
TimeoutSpecify time limit to complete task or job
UserDataSpecify data to associate with object
UserNameUser who created job or job manager object

See Also

job, simplejob, simpleparalleljob

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS