Partager via


Understanding Job Templates

 

Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

A job template is a custom submission policy created by the cluster administrator to define the job parameters for an application. The cluster administrator can use job templates to manage job submission and optimize cluster usage.

Job templates provide a way for users to easily submit a job without first having to obtain an in-depth understanding of how the Job Scheduler service works. Job templates serve as a pattern for the creation of jobs that meet your processing needs, while also conforming to your organization’s resource allocation policies.

After you select a job template for a new job, the available values for job properties in the New Job dialog box change accordingly. For example, the Priority drop-down menu only shows the priority levels that are valid under the selected template, and the run time setting cannot be raised above the defined maximum.

Note

Cluster administrators can specify permissions regarding which users can use a particular job template. For information about the job templates that you have access to and should use, contact your cluster administrator.

After the user submits the job, the HPC Job Scheduler Service applies the job template by:

  • Confirming that the user has the Submit jobs permission for the specified job template. If not, the job is rejected and the submission fails. This enables an administrator to control the types of jobs that a select group of users can submit.

  • Applying default settings from the job template for any job properties that the user did not specify.

  • Validating each job property against the constraints that are defined in the job template. If any job property is not within the valid range that is specified in the template, the job is rejected and the submission fails.

If the job passes all checks, it is added to the job queue.

Additional references