(Click to open topic with navigation)
A Moab job template is a set of pre-configured settings, attributes, and resources that Moab applies to jobs that match certain criteria or to which you manually apply it. They perform three primary functions:
You can use job templates in many aspects of scheduling, including cloud environments. Job templates are defined using the JOBCFG configuration parameter.
Two methods exist for applying job templates to jobs. You can use the JOBMATCHCFG parameter to mark a template that contains the criteria a job must meet for eligibility and another template as the one to be applied to the job if it is eligible. This allows you to automate the use of templates. For example, to force all interactive jobs to run on a certain set of nodes, you can set one template (the criteria template) to have the interactive flag, then give the other template the desired host list. You can also apply a template directly to a job at submission if that ability is enabled for that template.