This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.yml.erb
84 lines (73 loc) · 1.88 KB
/
form.yml.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<%-
paths = []
paths << Pathname.new("/scratch/#{User.new.name}")
projects = User.new.groups.map(&:name).grep(/^hb-./)
paths.concat projects.map { |p| Pathname.new("/scratch/#{p}") }
-%>
---
cluster: "login1"
form:
- node_type
- auto_modules_MATLAB
- num_hours
- num_cores
- memory
- bc_vnc_resolution
attributes:
auto_modules_MATLAB:
label: "MATLAB Version"
help: |
Select one of the MATLAB versions from the list.
default: false
node_type:
label: Node Type
help: |
Select the type of node you would like to use. For information on the different options, please see
[our wiki](https://wiki.hpc.rug.nl/habrok/introduction/cluster_description#compute_nodes)
widget: select
options:
- [ "Regular", "regular" ]
- [ "Himem", "himem" ]
- [ "GPU (A100)", "gpua100" ]
- [ "GPU (V100)", "gpuv100" ]
version:
widget: "select"
label: "MATLAB version"
help: |
Select one of the MATLAB versions from the dropdown.
options:
- [ "2022b-r5", "MATLAB/2022b-r5",
data-option-for-node-type-gpua100: false,
data-option-for-node-type-gpuv100: false
]
- [ "2020b-r5 (GPU)", "MATLAB/2022b-r5 CUDA/11.7.0",
data-option-for-node-type-regular: false,
data-option-for-node-type-himem: false,
]
num_hours:
label: Number of hours
widget: 'number_field'
help: "Please give the maximum wall time in hours"
value: 2
min: 1
step: 1
max: 12
memory:
label: Memory
help: Amount of memory requested, in GB
widget: 'number_field'
value: 2
min: 1
step: 1
num_cores:
widget: number_field
label: Number of CPU cores
value: 1
id: 'num_cores'
help: |
Select the number of CPU cores.
min: 1
step: 1
max: 128
bc_vnc_resolution:
required: true