25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Requeuing a Job Array<br />

Chapter 25<br />

Job Arrays<br />

Use brequeue to requeue a job array. When the job is requeued, it is assigned<br />

the PEND status and the job’s new position in the queue is after other jobs of<br />

the same priority. You can requeue:<br />

◆ Jobs in DONE job state<br />

◆ Jobs EXIT job state<br />

◆ All jobs regardless of job state in a job array.<br />

◆ EXIT, RUN, DONE jobs to PSUSP state<br />

◆ Jobs in RUN job state<br />

brequeue is not supported across clusters.<br />

Requeuing jobs in DONE state<br />

Requeuing Jobs in EXIT state<br />

To requeue DONE jobs use the -d option of brequeue. For example, the<br />

command brequeue -J "myarray[1-10]" -d 123 requeues jobs with job<br />

ID 123 and DONE status.<br />

To requeue EXIT jobs use the -e option of brequeue. For example, the<br />

command brequeue -J "myarray[1-10]" -e 123 requeues jobs with job<br />

ID 123 and EXIT status.<br />

Requeuing all jobs in an array regardless of job state<br />

A submitted job array can have jobs that have different job states. To requeue<br />

all the jobs in an array regardless of any job’s state, use the -a option of<br />

brequeue. For example, the command brequeue -J "myarray[1-10]" -a<br />

123 requeues all jobs in a job array with job ID 123 regardless of their job state.<br />

Requeuing RUN jobs to PSUSP state<br />

Requeuing jobs in RUN state<br />

To requeue RUN jobs to PSUSP state, use the -H option of brequeue. For<br />

example, the command brequeue -J "myarray[1-10]" -H 123 requeues<br />

to PSUSP RUN status jobs with job ID 123.<br />

To requeue RUN jobs use the -r option of brequeue. For example, the<br />

command brequeue -J "myarray[1-10]" -r 123 requeues jobs with job<br />

ID 123 and RUN status.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 341

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!