createJob
Create independent job on cluster
Description
creates an independent job on the identified cluster and an independent job object on the
client.job
= createJob(myCluster
)
The job’s data is stored in the location specified by the cluster’s
JobStorageLocation
property.
also specifies the job
= createJob(myCluster
,Name,Value
)Profile
or sets the independent job properties using
one or more optional name-value arguments when creating the job. For a listing of the valid
properties, see the parallel.Job
object reference page.
In you specify a Profile
and other properties, the values you
specify in these property name-value pairs can override the values in the profile.
Examples
Input Arguments
Tips
When you offload computations to workers, any files that are required for computations on
the client must also be available on workers. By default, the client attempts to
automatically detect and attach such files. To turn off automatic detection, set the
AutoAttachFiles
property to false. If automatic detection cannot
find all the files, or if sending files from client to worker is slow, use the following
properties.
If the files are in a folder that is not accessible on the workers, set the
AttachedFiles
property. The cluster copies each file you specify from the client to workers.If the files are in a folder that is accessible on the workers, you can set the
AdditionalPaths
property instead. Use theAdditionalPaths
property to add paths to each worker's MATLAB search path and avoid copying files unnecessarily from the client to workers.
Version History
Introduced before R2006a
See Also
createCommunicatingJob
| createTask
| findJob
| parcluster
| recreate
| submit