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

  • 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 354
batch
11-11
Clean up a batch job’s data after you are finished with it:
delete(j)
Run a batch function on a cluster that generates a 10-by-10 random matrix:
c = parcluster();
j = batch(c,@rand,1,{10,10});
wait(j) % Wait for the job to finish
diary(j) % Display the diary
r = fetchOutputs(j); % Get results into a cell array
r{1} % Display result
More About
Tips
To see your batch job’s status or to track its progress, use the Job Monitor, as described
in “Job Monitor” on page 6-29. You can also use the Job Monitor to retrieve a job object
for a batch job that was created in a different session, or for a batch job that was created
without returning a job object from the batch call.
As a matter of good programming practice, when you no longer need it, you should delete
the job created by the batch function so that it does not continue to consume cluster
storage resources.
See Also
delete | load | wait | diary | findJob
Vue de la page 354
1 2 ... 350 351 352 353 354 355 356 357 358 359 360 ... 655 656

Commentaires sur ces manuels

Pas de commentaire