setJobClusterData - Set specific user data for job on third-party cluster - MATLAB (original) (raw)
Main Content
Set specific user data for job on third-party cluster
Syntax
setJobClusterData(cluster,job,userdata)
Arguments
cluster | Cluster object identifying the third-party cluster running the job |
---|---|
job | Job object identifying the job for which to store data |
userdata | Information to store for this job |
Description
setJobClusterData(cluster,job,userdata)
stores data for the job job
that is running on the clustercluster
. You can later retrieve the information with the functiongetJobClusterData. For example, it might be useful to store the third-party scheduler's external ID for this job, so that the function specified in GetJobStateFcn
can later query the scheduler about the state of the job. Or the stored data might be an array with the scheduler's ID for each task in the job.
For more information and examples on using these functions and properties, seePlugin Scripts for Generic Schedulers (MATLAB Parallel Server).
Version History
Introduced in R2012a