(Click to open topic with navigation)
Moab can create workflows from individual jobs using job templates.
To build a workflow with job templates
JOBCFG[setup.pre] TASKS=2 WCLIMIT=00:01:00 SELECT=TRUE EXEC=/usr/tools/setup.pre.sh
JOBCFG[setup.pre2] TEMPLATEDEPEND=AFTER:setup.pre SELECT=TRUE EXEC=/nfs/tools/setup.pre2.sh
JOBCFG[engineering] TEMPLATEDEPEND=AFTER:setup.pre2
The Moab naming convention for jobs created with job templates is <moabId>.<templateName>. By default, when Moab submits jobs to only one resource manager, the job IDs are synchronized with the resource manager's job IDs. You can use the parameter USEMOABJOBID so that a template-created job is easily associated with its parent job (such as moab.1, moab.1.setup.pre).
JOBCFG[engineering.match] ACCOUNT=engineering
JOBMATCHCFG[engineering.job] JMIN=engineering.match JSET=engineering
Related Topics