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

  • 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 243
7 Program Independent Jobs
7-36
command to scheduler canceling job job_id
In a similar way, you can define what do to for deleting a job, and what to do for
canceling and deleting tasks.
Delete or Cancel a Running Job
After your functions are written, you set the appropriate properties of the cluster object
with handles to your functions. The corresponding cluster properties are:
CancelJobFcn
DeleteJobFcn
CancelTaskFcn
DeleteTaskFcn
You can set the properties in the Cluster Profile Manager for your cluster, or on the
command line:
c = parcluster('MyGenericProfile');
% set required properties
c.CancelJobFcn = @myCancelJob
c.DeleteJobFcn = @myDeleteJob
c.CancelTaskFcn = @myCancelTask
c.DeleteTaskFcn = @myDeleteTask
Continue with job creation and submission as usual.
j1 = createJob(c);
for ii = 1:n
t(ii) = createTask(j1,...)
end
submit(j1)
While the job is running or queued, you can cancel or delete the job or a task.
This command cancels the task and moves it to the finished state, and triggers execution
of myCancelTask, which sends the appropriate commands to the scheduler:
cancel(t(4))
This command deletes job data for j1, and triggers execution of myDeleteJob, which
sends the appropriate commands to the scheduler:
Zobrazit stránku 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 655 656

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

Žádné komentáře

Fujitsu SCANPARTNER 620C manuales

Manuales del propietario y guías del usuario para Escáneres Fujitsu SCANPARTNER 620C.
Ofrecemos 1 manuales en pdf Fujitsu SCANPARTNER 620C para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Escáneres Fujitsu

Modelos Tipo de documento
fi-5015C Manual de usuario   FUJITSU fi-5015C User Manual, 26 paginas
M3093DG Manual de usuario   FUJITSU M3093DG User Manual, 208 paginas
fi-5220C Manual de usuario   FUJITSU fi-5220C User Manual, 28 paginas
SCANSNAP NETWORK SCANNER N1800 Manual de usuario   FUJITSU SCANSNAP NETWORK SCANNER N1800 User Manual, 23 paginas
fi-4750C Manual de usuario   FUJITSU fi-4750C User Manual, 94 paginas
C150-E187-01EN Manual de usuario   FUJITSU C150-E187-01EN User Manual, 94 paginas
Image Scanner fi-6110 Manual de usuario   FUJITSU Image Scanner fi-6110 User Manual, 8 paginas
FI-4120CC2 Manual de usuario   FUJITSU FI-4120CC2 User Manual, 7 paginas
ScanSnap S1300 Manual de usuario   FUJITSU ScanSnap S1300 User Manual, 8 paginas