MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 344

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 343
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
Zobrazit stránku 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 655 656

Komentáře k této Příručce

Žádné komentáře