-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.yml.erb
More file actions
55 lines (49 loc) · 1.31 KB
/
form.yml.erb
File metadata and controls
55 lines (49 loc) · 1.31 KB
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
---
cluster: "magnus"
form:
- bc_partition
- bc_num_hours
- bc_reservation
- bc_num_slots
- bc_num_memory
- bc_num_gpus
# - bc_email_on_started
- working_dir
attributes:
bc_reservation:
label: "Name of reservation (leave empty if none)"
widget: "text_field"
value: ""
bc_partition:
label: "Partition"
widget: "select"
value: "magnus"
options:
- ["debug","debug"]
- ["gpu","gpu"]
- ["magnus","magnus"]
bc_num_slots:
label: "Number of CPUs"
widget: "number_field"
min: "1"
bc_num_memory:
label: "Amount of RAM"
widget: "text_field"
help: "Total memory for the node/session (--mem in Slurm). Use Slurm format, e.g. 4096M, 10G. If left blank, 4505 MB will be allocated per CPU core requested. A minimum of 4 GB is required for each job and lower values will be substituted before submission."
bc_num_gpus:
label: "Number of GPUs"
# widget: "number_field"
widget: "text_field"
# max: "4"
# min: "0"
bc_num_hours:
label: "Number of hours"
widget: "number_field"
max: "720"
min: "1"
working_dir:
label: "Working Directory"
data-filepicker: true
data-target-file-type: dirs # Valid values are: files, dirs, or both
readonly: false
help: "Select your project directory; defaults to $HOME"