diff --git a/form.yml.erb b/form.yml.erb new file mode 100644 index 0000000000000000000000000000000000000000..a0e882090ad21b92745956a0da02defd95047777 --- /dev/null +++ b/form.yml.erb @@ -0,0 +1,53 @@ +<%- + partitions = OodAppkit.clusters[:SLURM_CLUSTER].custom_config[:partitions] +-%> +--- +title: "HPC Desktop" +cluster: SLURM_CLUSTER +submit: "submit/submit.yml.erb" +attributes: + desktop: "xfce" + bc_num_slots: + label: Number of CPU + value: 1 + min: 1 + max: 24 + step: 1 + + bc_num_mems: + widget: "number_field" + label: Memory per CPU (GB) + value: 4 + min: 1 + max: 128 + step: 1 + + bc_num_gpus: + widget: "number_field" + label: Number of GPUs + value: 1 + min: 0 + max: 4 + step: 1 + + bc_partition: + widget: select + label: Partition + options: + <%- partitions.each do |p| -%> + - [ "<%= 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 + - bc_email_on_started