(Click to open topic with navigation)
This topic identifies how the application template information is organized and the fields and functions available when creating or editing an application template.
See 5.172 Create Application Template Page for more information about creating application templates.
See 5.175 Edit Application Template Page for more information about editing application templates.
In this topic:
5.178.1 Application Template Name
The name of the application template appears towards the top of this page. Using the example in this topic, the application template title is "Untitled Application Template". The application template name is displayed in the application template list shown in the Application Templates page.
To edit the template name, click on the name label and enter the desired name.
5.178.2 Application Template Type
Directly under the application template name, you can specify the application template type. To choose, select one of the options from the drop-down menu. The available application template types are:
When editing an existing application template, you can modify the application template to create job arrays by changing the application template type to Job Array.
The available fields used for creating/editing application templates are grouped into five areas. Specifically:
Expand an area to view its fields. This section provides information on these different areas and their associated fields. See 5.178.4 Field Information and Actions for information on using the fields.
5.178.3.A Application Description
This area lets you provide a description for your application template. Use this area to tell users any necessary information to use or access this application template. This field provides multiple options for styling and formatting, among other ways to make your description more detailed.
The following image shows the Application Description area.
Click to enlarge |
This area, as well as the Advanced Settings area, contains Moab-specific input for the job. If the template will be used for creating job arrays, the Basic Settings area also specifies starting and ending job indexes.
This area breaks the basic setting information into functional groups. The information will also be grouped similarly on the Job Details page.
The following images are examples of the functional groups.
Click to enlarge |
If the Template Type for the application template is set to Job Array, the Basic Settings area also contains settings for job indexes.
Click to enlarge |
Click to enlarge |
Click to enlarge |
Click to enlarge |
Use the up and down arrows to increment or decrement the resource values. Click the settings icon to set minimum, maximum, and step values to be used when incrementing and decrementing the resource setting.
Click to enlarge |
Click to enlarge |
This area contains advanced inputs that can be requested to Moab for the job such as whether to include Moab environment variables at job submission time. You can also define job environment variables that can be used when creating submission scripts.
The following image is an example of the Advanced Settings area.
Click to enlarge |
When enabled, the User Priority field requires the Moab ENABLENEGJOBPRIORITY server parameter set to "TRUE". This Moab parameter should have been set when Viewpoint was installed. See Moab Parameters in the Moab Workload Manager Reference Guide for more information on this parameter.
5.178.3.D Node Policy Settings
This area contains policies that can be requested to Moab for the job such as whether to include Moab environment variables at job submission time.
The following image is an example of the Node Policies Settings area.
Click to enlarge |
This area lets you add any custom settings to a template.
Click to enlarge |
5.178.4 Field Information and Actions
This section describes the different information and actions available for the fields in the Basic Settings, Advanced Settings, and Custom Settings areas of the application template.
5.178.5 Application Template Permissions
In addition to being able to restrict which fields the user may see or edit, you can also restrict who has access to the application template itself. This is done using the Permissions area at the top right of the page.
The following image is an example of the Permissions area.
Click to enlarge |
Using this area you can restrict access by:
5.178.6 Published/Unpublished Application Template
Viewpoint also lets you configure whether this application template is available (published) for use.
When an application template is marked "Unpublished" only the creator of the application template or template admins can view/edit the application template; regardless of the Permissions settings. In addition, the application template does not appear in the application templates list when a user creates a job.
On the Create/Application Template page, under the "Permissions" area, select the appropriate radio button for the publish status.
You can also change the publish status directly from the drop-down menu in the Application Templates page. See 5.179.3 Additional Functions.
Viewpoint provides a Submission Script widget on the Application Template Details page (in the Basic Job Settings area). This widget provides a Script Builder window where you can create/edit, upload, or export the script information.
In order for users to submit jobs using the application template, the application template must have a defined job submission script. As with any field in the application template, you can choose whether to make the script visible and editable by the user when creating a job.
Click Customize Script (located in the Default Value area in the Submission Script field) to access the Script Builder window.
The following image is an example of the Script Builder window.
Click to enlarge |
Using this window you can:
5.178.8 Application Template History
Viewpoint creates a new version of the application template every time you edit an application template. The Template History Manager window displays a history of the versions and lets you manage the versions. Once an application template has been edited and saved, the next time you go to edit the template, a History button is provided. Click this button to view the Template History Manager window.
The following image is an example of the Template History Manager window.
Click to enlarge |
The Template History Manager window displays a list of the different versions for the application template in a column format and provides operations for managing the versions of an application template. The following table describes the different columns and their contents.
Column titles that are underlined indicate that you can sort (ascending or descending) the column contents.
Column Heading | Description |
---|---|
Name | Name used to identify the application template. |
Version | The version number for the version of the application template. |
Changed By | Name of the user who last edited the application template. |
Description | A description of the application template version. |
Operations |
Icons representing operations that can be performed on the application template version.
|
Related Topics