-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathform.yml
executable file
·70 lines (70 loc) · 1.94 KB
/
form.yml
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
cluster: "research"
form:
- r_provider
- conda_path
- apptainer_image
- bih_cpus
- bih_mem
- bih_time
- bih_partition
attributes:
r_provider:
widget: "select"
label: "R Source"
help: |
You can either use R from within the provided Apptainer image (based
on the Rocker project) or provide a path to your conda
installation.
options:
- [ "Apptainer", "apptainer" ]
- [ "conda", "conda" ]
conda_path:
widget: "text_field"
label: "Conda Path"
help: |
Specify the path including the "bin" of the Miniforge3 installation
that you want to use. Separate name of environment with a colon.
Example: `~/work/miniforge/bin:fancy-r`.
apptainer_image:
widget: "select"
label: "Apptainer Image"
help: |
The Apptainer images are not always up to date. Missing packages?
Try to build and use your own conda environment!
options:
- [ "rocker-rstudio_4.3.3.sif", "rocker-rstudio_4.3.3.sif" ]
- [ "rocker-rstudio_4.4.1.sif", "rocker-rstudio_4.4.1.sif" ]
- [ "rocker-rstudio_4.4.2.sif", "rocker-rstudio_4.4.2.sif" ]
bih_cpus:
widget: "number_field"
label: "Number of cores"
value: 4
help: Number of cores to allocate.
min: 1
max: 64
step: 1
bih_mem:
widget: "number_field"
label: "Memory [GiB]"
value: 4
help: Memory to allocate for job.
min: 1
max: 256
bih_time:
widget: "text_field"
label: "Running time"
value: "1d"
required: true
help: |
Specify the running time as either hours (e.g., '12h') or days (e.g., '3d').
pattern: "^([0-9]{1,2}h|[1-9]d|1[0-4]d)$"
bih_partition:
widget: select
label: "partition to run in"
value: "long"
help: |
- **medium** - at most 7 days available (up to 128 cores in all jobs)
- **long** - at most 28 days available (up to 32 cores in all jobs)
options:
- [ "medium", "medium" ]
- [ "long", "long" ]