Skip to main content

Render and Submit a Template

Render a job script template into a concrete script, review the output, and submit it to a cluster.

Render and Submit a Template

This guide walks you through the full template workflow: rendering a template into a job script, reviewing the result, and submitting it to a cluster.

Render a job script template into a concrete script, review the output, and submit it to a cluster.

TimeAbout 10 minutes
You will needA job script template and a connected cluster
OutcomeA rendered job script submitted to a cluster

Render a template to a job script

Navigate to Jobs > Templates.

Find your template

Find the template you want to render.

Open the action menu

Open the row's action menu (or open the template detail page and click Actions).

Click Render Template to Script

Click Render Template to Script.

Fill in the render dialog

In the render dialog, fill in the following fields:

  • Script Name (required): the name for the new job script.
  • Description (optional): a note describing this particular render.
  • Parameter values: pre-filled from the template defaults. Override any values you need to change.
  • Entrypoint file: select which template file becomes the script entrypoint.

Click Render

Click Render.

Vantage processes the Jinja2 templates, creates a new job script, and navigates you to the new script's detail page.

Review and edit the rendered script

After rendering, you land on the script detail page. From here you can:

Verify the generated content

Verify the generated file content matches your expectations.

Check the parent template

Check the Parent Template link to confirm the source template.

Edit if needed

Click Edit to modify the script name, description, or file contents if adjustments are needed.

Submit the rendered script as a job

Open the submit dialog

From the script detail page, click Actions > Submit Script to open the submit dialog.

Fill in the required fields

Fill in the required fields:

  • Submission Name: pre-filled from the script name; editable.
  • Cluster: select from the dropdown of available clusters.
  • Partition: populates after cluster selection.

Add optional details

Add a Description and any Advanced Options (sbatch arguments) as needed.

Review and submit

Review the Hourly Price estimate, then click Submit.

Vantage redirects you to the Submissions list, where the new submission shows status CREATED. See Submitting a Job for full details on submission fields and advanced options.

Success looks like this: the workflow completes end-to-end, from template through script creation to job submission and monitoring.

Re-render a template with updated parameters

Each render creates an independent job script. To produce a new script with different parameter values:

Return to Templates

Return to Jobs > Templates and find the same template.

Open Render Template to Script

Open the action menu and click Render Template to Script.

Enter new parameter values

Enter new parameter values in the render dialog.

Click Render

Click Render to create another new job script.

The previously rendered script is not modified.

warning

Templates do not auto-update already-rendered scripts. Changes to a template or its variables only take effect when you render it again.

Task summary

TaskWhereResult
Render templateTemplates > action menu > Render Template to ScriptNew job script created
Edit rendered scriptScript detail page > EditModified script content
Submit rendered scriptScript detail page > Actions > Submit ScriptNew job submission
Re-render with new parametersTemplates > Render Template to Script againAnother new, independent job script
Ask AI
Ask a question about Vantage Compute...