-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.yml
More file actions
90 lines (88 loc) · 2.26 KB
/
form.yml
File metadata and controls
90 lines (88 loc) · 2.26 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
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
85
86
87
88
89
90
---
cluster: "tillicum"
attributes:
num_gpus:
widget: "number_field"
label: "Number of GPUs"
required: true
min: 1
max: 8
step: 1
value: 1
display: true
num_hours:
widget: "number_field"
label: "Number of hours"
value: 1
min: 0
display: true
num_mins:
widget: "number_field"
label: "Number of minutes"
value: 0
min: 0
max: 59
display: true
sif:
label: VS Code Server Container
widget: select
help: Select 'Custom' if you have created your own code-server Apptainer image.
options:
- [
"linuxserver/code-server",
"/gpfs/containers/code-server/code-server_4.105.1.sif",
data-hide-custom-sif: true
]
- [ "Custom", "" ]
value: "Default"
custom_sif:
label: Full path to your customized code-server Apptainer image.
help: "e.g. /gpfs/gscratch/labname/containers/code-server.sif"
working_dir:
label: "Working Directory"
data-filepicker: true
data-target-file-type: dirs
readonly: false
help: |
Project's root folder. Defaults to $HOME if left empty.
data_dir:
label: "Data/Extensions Directory"
data-filepicker: true
data-target-file-type: dirs
readonly: false
help: |
Alternate storage location for your workspace extensions and data. Defaults to $HOME if left empty.
enable_code_server_args:
label: Modify code-server command-line options?
widget: "check_box"
html_options:
data:
hide-extra-code-server-args-when-unchecked: true
extra_code_server_args:
label: code-server command-line options
widget: "text_field"
help: Additional arguments for code-server command, e.g. "code-server --custom-options"
enable_slurm_args:
label: Modify Slurm command-line options?
widget: "check_box"
html_options:
data:
hide-extra-slurm-args-when-unchecked: true
extra_slurm_args:
label: Slurm command-line options
widget: "text_field"
help: Additional arguments for Slurm command, e.g. "sbatch --custom-options"
form:
- auto_accounts
- auto_qos
- num_gpus
- num_hours
- num_mins
- sif
- custom_sif
- working_dir
- data_dir
- enable_code_server_args
- extra_code_server_args
- enable_slurm_args
- extra_slurm_args