共用方式為


Create a Job Template

Applies To: Windows HPC Server 2008

A job template allows you to associate a set of default values and value constraints for job properties with a particular set of users. You can create job templates in HPC Cluster Manager with the Generate Job Template Wizard. Alternately, you can copy an existing template, then modify the property constraints and user permissions as appropriate. This approach allows you to efficiently make a new job template based on the property settings of an existing job template.

For a description of job template properties, see Appendix 4: Job Template Properties.

To walk through an example of how to create a job template that partitions off a set of nodes that a group of developers can use to test applications, see Steps: Partitioning a Group of Nodes for a Group of Users.

For information about using HPC Cluster Manager, see Overview of HPC Cluster Manager.

To create a job template

  1. In Configuration, in the Navigation Pane, click Job Templates.

  2. In the Actions pane, click New. The Generate Job Template Wizard appears.

  3. Follow the steps in the Generate Job Template Wizard to configure the most common job property settings for that template.

  4. To define additional property values and constraints, select the check box on the last page of the wizard to open the job template in the template editor.

  5. Configure additional properties as desired in the job template editor. For more information about using the job template editor, see Edit a Job Template.

  6. After configuring the desired properties, right-click the job template in the views pane, then click Set Permissions. For more information, see Set Job Template Permissions.

Note

If a property is not specified in the job template, the HPC Job Scheduler Service applies the defaults and constraints from the Default job template instead.

Additional considerations

  • To open HPC Cluster Manager, click Start, point to All Programs, click Microsoft HPC Pack, and then click HPC Cluster Manager. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

  • You can import and export a job template by selecting it and then clicking Import or Export in the Actions pane. This option can help you to move templates from a test cluster to a production cluster, without having to create them again. Also, you can export templates to make backup copies of them. Templates are exported as XML files.

Additional references