forked from unioslo/fox-ood-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.yml.erb
64 lines (52 loc) · 1.28 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
---
cluster: "fox"
form:
- auto_modules_MATLAB
- ec_alacarte
- ec_matlab_glx
- auto_accounts
- bc_num_hours
- ec_modules
- ec_cpus
- ec_mem
- ec_gpus
attributes:
auto_modules_MATLAB:
default: false
auto_accounts:
label: "Choose the Educloud project to run under:"
help: |
<small>If you are unsure, ask the project principal</small>
<%= FormTemplate.fox_alacarte %>
ec_matlab_glx:
label: "Use hardware rendering for MATLAB GUI"
help: |
<small>This will add `-nosoftwareopengl` to the matlab command line when requesting a GPU<br>
<i>Note: Not supported on MIG</i> </small>
widget: "check_box"
checked_value: 1
unchecked_value: 0
value: 0
ec_cpus:
label: "Number of CPU cores:"
widget: "number_field"
value: "1"
required: true
ec_gpus:
label: "Number of GPUs:"
widget: "number_field"
value: "0"
required: true
ec_mem:
label: "RAM (in GB):"
value: "1"
widget: "number_field"
required: true
ec_modules:
label: "Additional modules (optional)"
help: |
<small>Space separated list of additional modules to load.</br/>
</br/>
Run `module avail` for a full list </small>
bc_num_hours:
label: "Runtime (in hours)"