MATLAB PARALLEL COMPUTING TOOLBOX - S Guida Utente Pagina 613

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 612
recreate
11-269
Recreate a Job with Specified Tasks
This example shows how to recreate an independent job, which has only the tasks with
IDs 21 to 32 from the job oldIndependentJob.
newJob = recreate(oldIndependentJob,'TaskID',[21:32]);
Recreate Jobs of a Specific User
This example shows how to find and recreate all failed jobs submitted by user Mary.
Assume the default cluster is the one Mary had submitted her jobs to.
c = parcluster();
failedjobs = findJob(c,'Username','Mary','State','failed');
for m = 1:length(failedjobs)
newJob(m) = recreate(failedjobs(m));
end
See Also
createCommunicatingJob | createJob | createTask | findJob | submit
Vedere la pagina 612
1 2 ... 608 609 610 611 612 613 614 615 616 617 618 ... 655 656

Commenti su questo manuale

Nessun commento