-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.yml.erb
202 lines (201 loc) · 6.08 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
---
attributes:
desktop: "xfce"
bc_queue:
label: "Partition selection"
value: "batch"
help: |
- `batch` - The normal general access partition
- `gpu` - The gpu partition
- *other partitions may be specified if your account has access*
bc_num_slots: 1
bc_num_cores:
widget: "number_field"
label: "Number of cores"
help: "Number of cores requested on a node (min 1, max 16)"
min: 1
max: 16
step: 1
value: "1"
id: "num_cores"
bc_num_hours:
widget: "number_field"
label: "Running time in hours"
help: "Maximum runtime in hours (min 1, max 168)"
min: 1
max: 168
step: 1
value: "1"
bc_memory:
widget: "number_field"
label: "Requested RAM in GBs"
help: "Maximum memory requested (min 8GB, max 62GBs)"
min: 8
max: 62
step: 1
value: "8"
id: "memory"
qos_type:
widget: select
label: "QoS type"
value: "short"
help: |
- `short` - Use the short QoS to increase job priority. Limits per user are 6 hour job run time, 2 jobs of 16CPUs or fewer.
- `normal` - Use the regular batch queue.
options:
- ["short", "short"]
- ["normal", "normal"]
bc_gres:
widget: "text_field"
label: "GRES"
help: "This field is used primarily for gpu submissions. You must specify a gres of at least `gpu` when using the GPU partition. Other possible values may b
e
[found here](https://hcc.unl.edu/docs/submitting_jobs/submitting_gpu_jobs/#requesting-gpu-resources-in-your-slurm-script)."
value: ''
bc_constraint:
widget: "text_field"
label: "Job Constraints"
help: "Additional constraints for the job. Primarily used for specifying a [GPU type](https://hcc.unl.edu/docs/submitting_jobs/submitting_gpu_jobs/#availabl
e
-gpus) or [node type](https://hcc.unl.edu/docs/submitting_jobs/partitions/#use-of-infiniband-or-opa)."
value: ''
bc_email_address:
widget: "email_field"
value: ""
label: "Email"
help: "Email address used for notifications"
bc_reservation:
widget: "text_field"
label: "Reservation"
help: "Submit to a specific reservation if your account has access."
value: ''
bc_vnc_idle: 0
bc_vnc_resolution:
required: true
cryosparc_version:
widget: select
label: "CryoSPARC version"
help: "This defines the version of CryoSPARC you want to load."
options:
- [ "4.4", "4.4.1" ]
- [ "4.5", "4.5.3" ]
- [ "4.6", "4.6.0" ]
cryosparc_license_id:
widget: text_field
required: true
placeholder: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
pattern: "^[\\w]{8}-[\\w]{4}-[\\w]{4}-[\\w]{4}-[\\w]{12}$"
label: "CryoSPARC License ID"
help: "Enter your personal CryoSPARC License ID. You can obtain a license from https://cryosparc.com/download."
cryosparc_local_worker:
widget: "hidden_field"
value: "1"
cryosparc_master_path:
widget: "hidden_field"
value: /opt/cryosparc/cryosparc_master
cryosparc_worker_path:
widget: "hidden_field"
value: /opt/cryosparc/cryosparc_worker
cryosparc_datadir:
# https://github.com/OSC/bc_js_filepicker
id: 'cryosparc_datadir'
data-filepicker: true
data-target-file-type: dirs # Valid values are: files, dirs, or both
readonly: true
data-default-directory: "$WORK/cryosparc"
value: "$WORK/cryosparc"
label: "CryoSPARC session path"
help: Directory path for CryoSPARC session folder (database and configuration files).
cryosparc_job_gpu_partition:
label: "Specify partition for CryoSPARC GPU jobs"
id: 'cryosparc_job_gpu_partition'
value: "gpu"
help: By default, GPU-based tasks are submitted to the `gpu` partition. Specify an alternate partition here if your account has access.
cryosparc_highmem_factor:
widget: "number_field"
value: "4"
label: "Highmem factor"
help: "Numerical factor to increase RAM request for highmem cluster lane (default 4)"
min: 1
max: 10
step: 1
id: 'cryosparc_highmem_factor'
cryosparc_batchjob_runtime:
widget: "number_field"
value: "48"
label: "Batch job maximum runtime"
help: "Max runtime (in hours) for jobs submitted to the cluster lanes (default 48 hours)"
min: 1
max: 168
step: 1
id: 'cryosparc_batchjob_runtime'
cryosparc_user_password:
id: 'cryosparc_user_password'
widget: "hidden_field"
display: true
cryosparc_image_base:
widget: "hidden_field"
cacheable: false
value: '/work/HCC/APPTAINER/IMAGES/cryosparc'
cryosparc_new_session:
widget: "check_box"
help: Check to start new CryoSPARC session. **Note:** Use with care! _All data in the session folder will be lost._
label: "Start a new CryoSPARC session?"
cryosparc_allow_multiple_master:
widget: "check_box"
help: "Allow running multiple master processes **Note:** Use with care! _Multiple masters cannot share a session path!_"
label: "Allow multiple CryoSPARC masters?"
cacheable: false
id: 'cryosparc_allow_multiple_master'
advanced_settings:
widget: "check_box"
label: Show advanced settings...
cacheable: false
hr:
class: "d-none"
skip_label: true
readonly: true
help: <hr>
standard_settings_header:
class: "d-none"
skip_label: true
readonly: true
help: <h3>Standard settings</h3>
advanced_settings_header:
class: "d-none"
skip_label: true
readonly: true
help: <h3>Advanced settings</h3>
id: advanced_settings_header
form:
- cryosparc_user_password
- cryosparc_version
- cryosparc_license_id
- cryosparc_local_worker
- cryosparc_master_path
- cryosparc_worker_path
- cryosparc_image_base
- cryosparc_new_session
- advanced_settings
- advanced_settings_header
- cryosparc_datadir
- cryosparc_job_gpu_partition
- cryosparc_highmem_factor
- cryosparc_batchjob_runtime
- cryosparc_allow_multiple_master
- desktop
- bc_vnc_idle
- bc_vnc_resolution
- hr
- standard_settings_header
- bc_num_slots
- bc_num_cores
- bc_num_hours
- bc_memory
- qos_type
- bc_queue
- bc_reservation
- bc_gres
- bc_constraint
- bc_email_address
- bc_email_on_started