-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.yml.erb
118 lines (98 loc) · 2.59 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
---
cluster: "fox"
form:
- auto_accounts
- ec_alacarte
- bc_num_hours
- jupyter_variant
- jupyter_install
- auto_modules_JupyterLab
- jupyter_envtype
- auto_modules_Python
- env_path
- ec_modulepath
- ec_modules
- jupyter_version
- ec_extra_jupyter_args
- ec_cpus
- ec_mem
- ec_gpus
attributes:
<%= FormTemplate.fox_alacarte %>
bc_num_hours:
label: "Runtime (in hours)"
jupyter_version:
widget: "hidden_field"
value: "notset"
jupyter_variant:
label: "Select Jupyter variant:"
widget: "radio_button"
value: "1"
options:
- ["Jupyter Lab", "1"]
- ["Jupyter Notebook", "0"]
jupyter_install:
label: "Use self-installed Jupyter"
widget: "check_box"
value: "0"
html_options:
data:
hide-ec-modulepath-when-checked: false
hide-ec-modules-when-checked: false
auto_modules_JupyterLab:
label: "Choose Jupyter module (required)"
default: false
jupyter_envtype:
label: "Choose environment type (required)"
widget: "select"
value: "0"
options:
- [
"Python virtualenv", "0",
data-set-jupyter-version: "venv",
]
- [
"Conda environment", "1",
data-set-jupyter-version: "conda",
]
auto_modules_Python:
label: "Choose the Python version you built the env with"
default: false
data-hide-env-path: true
env_path:
widget: "text_field"
label: "Environment path: (required)"
help: |
<small>The path is relative to your $HOME. E.g use `my-environment` for $HOME/my-environment or `/fp/projects01/ec01/jupyter/my-environemnt` to use a shared install</small>
auto_accounts:
label: "Choose the Educloud project to run under:"
help: |
<small>If you are unsure, ask the project principal</small>
ec_cpus:
label: "Number of CPU cores:"
widget: "number_field"
required: true
ec_gpus:
label: "Number of GPUs:"
widget: "number_field"
required: true
ec_mem:
label: "RAM (in GB):"
value: "1"
widget: "number_field"
required: true
ec_modulepath:
label: "Additional module path (optional)"
widget: "text_field"
help: |
<small>Add your own EasyBuild modulepath (optional)</small>
ec_modules:
label: "Additional modules (optional)"
widget: "text_field"
help: |
<small>Space separated list of additional modules to load (optional)</small></br/>
ec_extra_jupyter_args:
label: "Additional Jupyter arguments (optional)"
widget: "text_field"
help: |
<small>Add extra command line arguments</small>