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.
Prerequisites
- At least one job script template created. See Creating Templates.
- A connected cluster available to receive job submissions.
Render a template to a job script
- Navigate to Jobs > Templates.
- Find the template you want to render.
- Open the row's action menu (or open the template detail page and click Actions).
- Click Render Template to Script.
- 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.
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 file content matches your expectations.
- Check the Parent Template link to confirm the source template.
- Click Edit to modify the script name, description, or file contents if adjustments are needed.
Submit the rendered script as a job
- From the script detail page, click Actions > Submit Script to open the submit dialog.
- 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 a Description and any Advanced Options (sbatch arguments) as needed.
- Review the Hourly Price estimate.
- 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.
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 Jobs > Templates and find the same template.
- Open the action menu and click Render Template to Script.
- Enter new parameter values in the render dialog.
- Click Render to create another new job script.
The previously rendered script is not modified.
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
| Task | Where | Result |
|---|---|---|
| Render template | Templates > action menu > Render Template to Script | New job script created |
| Edit rendered script | Script detail page > Edit | Modified script content |
| Submit rendered script | Script detail page > Actions > Submit Script | New job submission |
| Re-render with new parameters | Templates > Render Template to Script again | Another new, independent job script |
Related
- Creating Templates — define variables, upload entrypoint and support files
- Managing Templates — clone, archive, delete, and manage identifiers
- Managing Job Scripts — clone, archive, restore, and delete rendered scripts
- Submitting a Job — full submit dialog reference
- Templates Reference — all fields, file types, and variable schema