User`s guide

10 Objects — Alphabetical List
10-44
Property Name Description
JobStorageLocation Location on the remote host for files that are being mirrored.
UseIdentityFile Indicates if an identity file should be used when connecting to
the remote host.
Username User name for connecting to the remote host.
Examples
Mirror files from the remote data location. Assume the object job represents a job on
your generic scheduler.
remoteConnection = parallel.cluster.RemoteClusterAccess('testname');
connect(remoteConnection,'headnode1','/tmp/filemirror');
startMirrorForJob(remoteConnection,job);
submit(job)
% Wait for the job to finish
wait(job);
% Ensure that all the local files are up to date, and remove the
% remote files
doLastMirrorForJob(remoteConnection,job);
% Get the output arguments for the job
results = fetchOutputs(job)
For more detailed examples, see the integration scripts provided in matlabroot/
toolbox/distcomp/examples/integration. For example, the scripts for PBS in a
nonshared file system are in
matlabroot/toolbox/distcomp/examples/integration/pbs/nonshared