23.0 Preemption > Preemption tasks > Checkpointing jobs with preemption

Conventions

23.1.2 Checkpointing jobs with preemption

To preempt jobs using CHECKPOINT

Make the following configurations to the moab.cfg file:

  1. Set GUARANTEEDPREEMPTION to TRUE. (This causes Moab to lock PREEMPTOR jobs until JOBRETRYTIME expires.)
  2. Make sure that JOBNODEMATCHPOLICY is not set to EXACTNODE, which is not currently supported for preemption (for more information, see Testing and troubleshooting preemption).
  3. Set PREEMPTPOLICY to CHECKPOINT (for more information, see PREEMPTPOLICY types).
  4. Make sure that the PREEMPTEE job has a lower priority than the PREEMPTOR job (for more information, see Preemption flags).

For example:

GUARANTEEDPREEMPTION TRUE
PREEMPTPOLICY CHECKPOINT
 
QOSCFG[test1] QFLAGS=PREEMPTEE MEMBERULIST=john PRIORITY=100
QOSCFG[test2] QFLAGS=PREEMPTOR MEMBERULIST=john PRIORITY=10000

Related topics