diff --git a/SLURM_CLUSTER.yml.erb b/SLURM_CLUSTER.yml.erb index f42401b02a764f4b49d0ceed83ea5be09bca11b4..a0e882090ad21b92745956a0da02defd95047777 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 9aeca517210c765db8078e2daadd08238297d4ad..ad7153b5271e9e8b36114353df50b039eff83a11 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 -%>