(Click to open topic with navigation)
The JOBMATCHCFG parameter allows you to establish relationships between a number of job templates. JMAX and JMIN function as filters to determine whether a job is eligible for a subsequent template to be applied to the job. If a job is eligible, JDEF and JSET templates apply attributes to the job. See Job template extension attributes for more information about the JOBMATCHCFG attributes. The table on that page indicates which job template types are compatible with which job template extension attributes.
JSETs and JDEFs have only been tested using msub as the job submission command.
To apply a job template based on job attributes
JOBCFG[inter.min] FLAGS=interactive
JOBCFG[inter.set] FLAGS=ignpolicies
JOBMATCHCFG[interactive] JMIN=inter.min JSET=inter.set
Moab applies the inter.set template to all jobs with the interactive flag set, causing them to ignore Moab's configured policies.
JOBMATCHCFG[small] JMIN=small.min JMAX=small.max JSET.set=small.set FLAGS=BREAK JOBMATCHCFG[large] JMIN=large.min JMAX=large.max JSET=large.set
In this case, the large template would not be applied when a job matches both the small and large templates. The small template matches first, and because of FLAGS=BREAK, Moab stops evaluating further JOBMATCHFG entries for the job.
Related topics