-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add account name to slurm config #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,7 +6,8 @@ | |||||||||||||
|
|
||||||||||||||
| #SBATCH --job-name={{ job_name }} | ||||||||||||||
| #SBATCH --partition={{ partition }} | ||||||||||||||
| #SBATCH --nodes={{ num_nodes }} | ||||||||||||||
| {% if account %}#SBATCH --account={{ account }} | ||||||||||||||
| {% endif %}#SBATCH --nodes={{ num_nodes }} | ||||||||||||||
|
Comment on lines
+9
to
+10
|
||||||||||||||
| {% if account %}#SBATCH --account={{ account }} | |
| {% endif %}#SBATCH --nodes={{ num_nodes }} | |
| {% if account %} | |
| #SBATCH --account={{ account }} | |
| {% endif %} | |
| #SBATCH --nodes={{ num_nodes }} |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,7 +6,8 @@ | |||||||||||||
|
|
||||||||||||||
| #SBATCH --job-name={{ job_name }} | ||||||||||||||
| #SBATCH --partition={{ partition }} | ||||||||||||||
| #SBATCH --nodes={{ num_nodes }} | ||||||||||||||
| {% if account %}#SBATCH --account={{ account }} | ||||||||||||||
| {% endif %}#SBATCH --nodes={{ num_nodes }} | ||||||||||||||
|
Comment on lines
+9
to
+10
|
||||||||||||||
| {% if account %}#SBATCH --account={{ account }} | |
| {% endif %}#SBATCH --nodes={{ num_nodes }} | |
| {% if account is defined and account %} | |
| #SBATCH --account={{ account }} | |
| {% endif %} | |
| #SBATCH --nodes={{ num_nodes }} |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,7 +6,8 @@ | |||||||||||||
|
|
||||||||||||||
| #SBATCH --job-name={{ job_name }} | ||||||||||||||
| #SBATCH --partition={{ partition }} | ||||||||||||||
| #SBATCH --nodes={{ num_nodes }} | ||||||||||||||
| {% if account %}#SBATCH --account={{ account }} | ||||||||||||||
| {% endif %}#SBATCH --nodes={{ num_nodes }} | ||||||||||||||
|
Comment on lines
+9
to
+10
|
||||||||||||||
| {% if account %}#SBATCH --account={{ account }} | |
| {% endif %}#SBATCH --nodes={{ num_nodes }} | |
| {% if account is defined and account %} | |
| #SBATCH --account={{ account }} | |
| {% endif %} | |
| #SBATCH --nodes={{ num_nodes }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description says the SLURM account is optional, but the new config default sets
accountto a concrete value ("OELLM_prod2026"). This makes the option effectively enabled by default (once the renderer passes it through) and also hard-codes an environment-specific account into the library default. Consider defaulting toNoneand letting users set it via YAML/CLI overrides when needed.