MATLAB PARALLEL COMPUTING TOOLBOX - S Guida Utente Pagina 408

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 407
11 Functions — Alphabetical List
11-64
demote
Demote job in cluster queue
Syntax
demote(c,job)
Arguments
c Cluster object that contains the job.
job Job object demoted in the job queue.
Description
demote(c,job) demotes the job object job that is queued in the cluster c.
If job is not the last job in the queue, demote exchanges the position of job and the job
that follows it in the queue.
Examples
Create and submit multiple jobs to the MATLAB job scheduler (MJS) identified by the
default parallel configuration:
c = parcluster();
pause(c) % Prevent submissions from running.
j1 = createJob(c,'Name','Job A');
j2 = createJob(c,'Name','Job B');
j3 = createJob(c,'Name','Job C');
submit(j1);submit(j2);submit(j3);
Demote one of the jobs by one position in the queue:
demote(c,j2)
Vedere la pagina 407
1 2 ... 403 404 405 406 407 408 409 410 411 412 413 ... 655 656

Commenti su questo manuale

Nessun commento