You are here: 21 Preemption > How-to > Checkpointing Jobs with Preemption

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.)(This locks the job on a node and keeps trying to preempt.)
  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 

© 2015 Adaptive Computing