Skip to content

Commit 192b870

Browse files
authored
Merge pull request #5 from krishmoodbidri/v1
feat ood_sas version v1
2 parents a22de7d + dd86801 commit 192b870

File tree

3 files changed

+23
-66
lines changed

3 files changed

+23
-66
lines changed

form.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

form.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
cluster: "{{ cluster_name }}"
2+
cluster: "SLURM_CLUSTER"
33
attributes:
44
bc_num_hours:
55
value: 1
@@ -23,14 +23,24 @@ attributes:
2323
widget: select
2424
label: Partition
2525
options:
26-
- [ "low", "low" ]
26+
- [ "express", "express" ]
27+
- [ "short", "short" ]
28+
- [ "medium", "medium" ]
29+
- [ "long", "long" ]
30+
- [ "interactive", "interactive" ]
31+
- [ "pascalnodes", "pascalnodes" ]
32+
- [ "pascalnodes-medium", "pascalnodes-medium" ]
33+
- [ "largemem", "largemem" ]
34+
- [ "largemem-long", "largemem-long" ]
35+
- [ "amd-hdr100", "amd-hdr100" ]
2736

2837
version:
2938
widget: select
3039
label: "SAS version"
3140
help: "This defines the version of SAS you want to load."
3241
options:
33-
- [ "v9.4", "sas/v9.4" ]
42+
- [ "v9.4", "rc/SAS/v9.4" ]
43+
3444
form:
3545
- version
3646
- bc_num_hours

submit.yml.erb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
# Job submission configuration file
2+
#
13
---
4+
# This config comes from below URL
5+
# https://github.com/OSC/bc_example_jupyter/blob/custom_environment/submit.yml.erb
6+
# The -C option in the config provided for slurm has been removed because it does
7+
# not apply to implementation at UAB. We do not use constraint list to be used with -C.
8+
29
batch_connect:
3-
template: vnc
10+
template: "vnc"
11+
412
script:
513
native:
614
- "-N 1"
@@ -9,6 +17,6 @@ script:
917
- "--partition=<%= bc_partition %>"
1018
- "--time=<%= bc_num_hours.blank? ? 1 : bc_num_hours.to_i %>:00:00"
1119
- "--job-name=ood-sas-<%= version.split("/")[-1] %>"
12-
<%- if bc_partition == "pascalnodes" -%>
20+
<%- if bc_partition.include? "pascalnodes" -%>
1321
- "--gres=gpu:1"
1422
<%- end -%>

0 commit comments

Comments
 (0)