-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathworkflow.xml
201 lines (201 loc) · 6.81 KB
/
workflow.xml
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
<tool id='NA' name='NA'>
<command interpreter='bash'>main.sh</command>
<cancel interpreter='bash'>cancel.sh</cancel>
<inputs>
<param
name='metering_user'
label='metering_user'
type='hidden'
value='__metering_user__'
></param>
<param
name='metering_ip'
label='metering_ip'
type='hidden'
value='34.132.102.65'
></param>
<section name='dcs' type='section' title='3DCS Options' expanded='true'>
<param
name="dry_run"
type="boolean"
truevalue="Yes"
falsevalue="No"
checked="False"
value="false"
label="Dry run?"
help='Dry run generates the macroScript.txt file and executes every step of the workflow except running 3DCS'
></param>
<param
name='version'
type='select'
label='3DCS Version'
help='Select the 3DCS version'
multiple='false'
>
<option value="8.0.0.2" selected="true">8.0.0.2</option>
<option value="7.10.0.2" >7.10.0.2</option>
</param>
<param
name='analysis_type'
type='select'
label='Analysis Type'
help='Select Montecarlo simulation or contributor analysis (sensitivity)'
multiple='false'
>
<option value="montecarlo" selected="true">Monte Carlo Simulation</option>
<option value="sensitivity" >Contributor Analysis</option>
</param>
<param name='bucket_id'
label='Bucket ID or namespace'
type='text'
help='Type in the bucket ID string or namespace in the format [bucket-owner]/[bucket-name]'
></param>
<param
name='model_directory'
label='Model Path'
type='text'
help='Directory within the bucket with the model and all the required files'
></param>
<param
name='output_directory'
label='Output Path'
type='text'
help='Output directory within the bucket to store outputs and logs. It cannot be inside the Model Directory!'
></param>
<param
name='num_seeds'
type='integer'
label='Number of Monte Carlo Simulations'
min='1'
max='100000'
value='2000'
depends_on='dcs.analysis_type'
show_if="montecarlo"
></param>
<param
name='concurrency'
type='integer'
label='Number of Workers'
min='1'
max='100'
value='2'
help='Number of workers used to run the simulations. A SLURM job is submitted for each worker.'
></param>
<param
name='thread'
type='integer'
label='Number of Threads per Worker'
min='1'
max='64'
value='1'
help='Number of threads used to run the simulation. Be aware that N threads require more than N times the memory needed for a single thread.'
></param>
</section>
<section name='pwrl_001_simulation_executor' type='section' title='Simulation Executor' expanded='true'>
<param
name='monitoring_conda_dir'
label='PW Conda Directory'
type='hidden'
value='/dcs/pw/miniconda'
></param>
<param
name='monitoring_conda_env'
label='PW Conda Directory'
type='hidden'
value='psutil'
></param>
<param
name='resource'
type='computeResource'
label='Resource'
hideUserWorkspace='true'
help='Resource to run the simulation task'>
</param>
<param
name='jobschedulertype'
label='Select Controller, SLURM Partition or PBS Queue'
type='hidden'
value='SLURM'
>
</param>
<param
name='_sch__dd_partition_e_'
label='SLURM partition'
type='dynamicPartitionDropdown'
resource='pwrl_001_simulation_executor.resource'
help='Partition to submit the interactive job. Leave empty to let SLURM pick the optimal option.'
optional='true'
dependent='false'
></param>
<param
name='_sch__dd_time_e_'
label='Walltime'
type='text'
help='Maximum walltime per job'
value='999:00:00'
optional='true'
></param>
<param
name='scheduler_directives'
label='Scheduler directives'
type='text'
help='e.g. --mem=1000;--gpus-per-node=1 - Use the semicolon character ; to separate parameters. Do not include the SBATCH keyword.'
value='--exclusive'
optional='true'
></param>
</section>
<section name='pwrl_002_merge_executor' type='section' title='Merge Executor' expanded='true'>
<param
name='monitoring_conda_dir'
label='PW Conda Directory'
type='hidden'
value='/dcs/pw/miniconda'
></param>
<param
name='monitoring_conda_env'
label='PW Conda Directory'
type='hidden'
value='psutil'
></param>
<param
name='resource'
type='computeResource'
label='Resource'
hideUserWorkspace='true'
help='Resource to run the simulation task'>
</param>
<param
name='jobschedulertype'
label='Select Controller, SLURM Partition or PBS Queue'
type='hidden'
value='SLURM'
>
</param>
<param
name='_sch__dd_partition_e_'
label='SLURM partition'
type='dynamicPartitionDropdown'
resource='pwrl_002_merge_executor.resource'
help='Partition to submit the interactive job. Leave empty to let SLURM pick the optimal option.'
optional='true'
dependent='false'
></param>
<param
name='_sch__dd_time_e_'
label='Walltime'
type='text'
help='Maximum walltime per job'
value='999:00:00'
optional='true'
></param>
<param
name='scheduler_directives'
label='Scheduler directives'
type='text'
help='e.g. --mem=1000;--gpus-per-node=1 - Use the semicolon character ; to separate parameters. Do not include the SBATCH keyword.'
value='--exclusive'
optional='true'
></param>
</section>
</inputs>
</tool>