# Job Templates

saving a job as a template, using base templates, editing/deleting

# Using Base Templates

Templates save job configurations so you do not have to re-enter every field each time you submit. There are two kinds: **base templates** provided by HPC staff, and **personal templates** you create yourself.

## Base templates

Base templates are created and maintained by HPC staff. They represent tested, recommended configurations for common workloads — for example, a standard GPU job or a multi-node MPI setup. You cannot edit or delete base templates, but you can clone them.

## Cloning a base template

1. Go to **Templates** in the navbar.
2. Find the base template you want under **Base Templates**.
3. Load it and save it under a new name (button labels may vary — check the Templates page for the exact action).
4. The template is copied to your personal templates where you can edit it freely.

Cloning is the recommended starting point for new users. Pick the base template closest to your use case and adjust the resource values and script to suit your workload.

## What templates store

A template saves all form fields, including the job name: partition, account, QOS, CPUs, memory, time limit, nodes, constraints, array specification, output paths, working directory, notify settings, and the job script. You can still change any field, including the job name, before submitting.

# Creating and Managing Your Templates

Personal templates are private to your account. Create them from the submission form or directly from the Templates page.

## Creating a template

### From the submission form

1. Fill in the submission form as you normally would.
2. Click **Save as template** instead of (or before) submitting.
3. Enter a name for the template and confirm.

This is the quickest way to save a configuration you have just used successfully.

### From the Templates page

1. Go to **Templates** in the navbar.
2. Click **New Template** under **My Templates**.
3. Fill in the fields inline and click **Save**.

## Editing a template

1. Go to **Templates** and find the template under **My Templates**.
2. Click **Edit**.
3. Update any fields and click **Save**.

The same partition-aware behaviour applies as on the submission form — changing the partition refreshes the available accounts, QOS, constraints, and node list.

## Submitting from a template

1. Go to **Templates** and find the template you want to use.
2. Click **Use** — the submission form opens pre-filled with the template's values.
3. Enter a job name, make any last-minute adjustments, and click **Submit Job**.

## Deleting a template

Click **Delete** next to the template and confirm. Deletion is permanent.