About submission templates

Submission templates are used to integrate applications.

You can use the built-in templates to immediately submit jobs to the specific applications.

Generally, the name of the template indicates the name of the application to which jobs can be submitted.

Submission forms and submission scripts

Submission templates are composed of:

  • A Submission Form—The job submission form is composed of fields. Each field has a unique ID associated with it. IDs must be unique within the same form.

  • A Submission Script—The job submission script uses the same IDs as the submission form to pass values to your application. Note that the submission scripts only deal with environment variables that are available before the bsub command is used. As a result, you cannot use job parameters such as LSB_HOSTS within the submission script.

Submission template states

Submission templates have the following states:


State Description
Published When a submission template has the status Published, all users that have been granted access to this template can submit jobs to the application with the job submission form. Submission templates with the status Published cannot be modified. They must be set to Unpublished before any changes can be made to the template.
Unpublished When a submission template has the status Unpublished, it is not visible to any users. It is only visible to the administrator. The submission template can be modified and customized as desired. When a submission template that has the status Published is set to Unpublished, it is no longer available to any users.

Customizing submission templates

You can customize submission templates by adding or removing fields, rearranging the order of fields (through drag and drop), and entering default values for fields.

You can also change field names and add help text for fields.

In addition, you can create hidden fields - fields that are only visible to you, the administrator, but that can hold default values for the submission forms. Users cannot see hidden fields in their forms.

Creating new templates

The easiest way to create a new template from an existing template, then modify the job submission form and script. You can then test your new template by submitting a test job.

Access permissions on new templates

Once you have tested your template, you can then set the template status to Published. By default, your template is visible and usable to all users once you set its status to Published.

Job groups and submission templates

In order for users to submit a job to a job group through IBM Spectrum LSF Application Center, you will need to change your submission templates.

  • To allow users to specify a job group at job submission:

    In your submission template, create a text field and use the bsub -g option in your submission script so users can specify a new job group for a job.

  • To enable users to select from an existing job group list when submitting a job:

    In your submission template, add a new dropdown list field with type Job Group.