MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 613

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 612
1 2 ... 608 609 610 611 612 613 614 615 616 617 618 ... 655 656

Commentaires sur ces manuels

Pas de commentaire