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

  • 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 598
promote
11-255
promote
Promote job in MJS cluster queue
Syntax
promote(c,job)
Arguments
c The MJS cluster object that contains the job.
job Job object promoted in the queue.
Description
promote(c,job) promotes the job object job, that is queued in the MJS cluster c.
If job is not the first job in the queue, promote exchanges the position of job and the
previous job.
Examples
Create and submit multiple jobs to the cluster identified by the default cluster profile,
assuming that the default cluster profile uses an MJS:
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);
Promote Job C by one position in its queue:
promote(c,j3)
Zobrazit stránku 598
1 2 ... 594 595 596 597 598 599 600 601 602 603 604 ... 655 656

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

Žádné komentáře