(Click to open topic with navigation)
To create a job template
JOBCFG[newtemplate]
JOBCFG[newtemplate] FLAGS=SUSPENDABLE
When Moab applies newtemplate to a job, the job is marked as suspendable.
JOBCFG[newtemplate] FLAGS=SUSPENDABLE SELECT=TRUE
When you submit a job via msub, you can specify that your job has newtemplate applied to it. When Moab applies the template to a job, that job is marked as suspendable.
JOBCFG[newtemplate] FLAGS=SUSPENDABLE SELECT=TRUE TEMPLATEDEPEND=AFTER:job1.pre
When Moab applies newtemplate to a job, the job cannot run until job job1.pre has finished running; the job is also marked as suspendable. You can specify that Moab apply this template to a job as you submit it.
Related topics