From fcfe6c1ba8712d309a212fafbbd5c2b29c7e43c5 Mon Sep 17 00:00:00 2001 From: Matthew K Defenderfer <mdefende@uab.edu> Date: Tue, 3 Jun 2025 01:17:28 -0500 Subject: [PATCH] Initial changes adding reservation --- SLURM_CLUSTER.yml.erb | 5 +++++ submit/submit.yml.erb | 3 +++ 2 files changed, 8 insertions(+) diff --git a/SLURM_CLUSTER.yml.erb b/SLURM_CLUSTER.yml.erb index f42401b..a0e8820 100644 --- a/SLURM_CLUSTER.yml.erb +++ b/SLURM_CLUSTER.yml.erb @@ -38,10 +38,15 @@ attributes: - [ "<%= p %>", "<%= p %>" ] <%- end -%> + bc_reservation: + widget: "text_field" + label: Reservation Name + form: - desktop - bc_num_hours - bc_partition + - bc_reservation - bc_num_gpus - bc_num_slots - bc_num_mems diff --git a/submit/submit.yml.erb b/submit/submit.yml.erb index 9aeca51..ad7153b 100644 --- a/submit/submit.yml.erb +++ b/submit/submit.yml.erb @@ -26,3 +26,6 @@ script: - "--mail-type=BEGIN" - "--mail-user=<%= email %>" <%- end -%> +<%- if bc_reservation != "" -%> + - "--reservation=<%= bc_reservation %> +<%- end -%> -- GitLab