24.0 Job templates > Job template how-to's > Requesting job templates directly

Conventions

24.4 Requesting job templates directly

To directly request job templates

  1. Set the SELECT attribute on the template in moab.cfg.
  2. JOBCFG[medium.set] NODESET=ONEOF:FEATURE:fast,slow SELECT=true

  3. Submit a job with a resource list (msub -l), requesting the template using the format template=<templateName>.
  4. > msub -l template=medium.set

    Moab creates a job with the medium.set job template created in step 1.

    Attributes set in the template are evaluated as if they were part of the job submission. They are still subject to all of the same ACLs and policies.

Related topics