| 161 | |
| 162 | === JUBE run job input file === |
| 163 | |
| 164 | See for instance the JUBE xml file of the example application: |
| 165 | |
| 166 | {{{ |
| 167 | vim MAXW-DGTD-jube-master-SDV.modules.test.xml |
| 168 | }}} |
| 169 | |
| 170 | Important parts in the file are: |
| 171 | |
| 172 | 1) Use of tags |
| 173 | |
| 174 | Notice the 2 different parameter sets: |
| 175 | |
| 176 | {{{ |
| 177 | <parameterset name="MAXW-DGTDParameter-head" init_with="MAXW-DGTD_specs.xml" tag="!woman"> |
| 178 | [...] |
| 179 | </parameterset> |
| 180 | |
| 181 | |
| 182 | <parameterset name="MAXW-DGTDParameter-woman" init_with="MAXW-DGTD_specs.xml" tag="woman"> |
| 183 | [...] |
| 184 | </parameterset> |
| 185 | }}} |
| 186 | |
| 187 | You can tell JUBE to use one parameter set or another depending on the tag. For doing so you can specify it with the jube2 run command: |
| 188 | |
| 189 | {{{ |
| 190 | jube2 run MAXW-DGTD-jube-master-SDV.modules.test.xml --tag woman |
| 191 | }}} |
| 192 | |
| 193 | will use MAXW-DGTDParameter-woman, |
| 194 | |
| 195 | {{{ |
| 196 | jube2 run MAXW-DGTD-jube-master-SDV.modules.test.xml |
| 197 | }}} |
| 198 | |
| 199 | will use MAXW-DGTDParameter-head. |
| 200 | |
| 201 | 2) Several values for the parameters |
| 202 | |
| 203 | {{{ |
| 204 | <parameter name="k" type="int" >1,3</parameter> |
| 205 | [...] |
| 206 | <parameter name="iopath" type="string" >"/nvme/tmp/manzano/MAXW-DGTD-test/","/sdv-work/manzano/MAXW-DGTD-test/"</parameter> |
| 207 | }}} |
| 208 | |
| 209 | You can specify comma separated values for the parameters. In this case JUBE will execute the benchmark 4 times with the following values: |
| 210 | |
| 211 | {{{ |
| 212 | k=1, iopath=/nvme/tmp/manzano/MAXW-DGTD-test/ |
| 213 | k=1, iopath=/sdv-work/manzano/MAXW-DGTD-test/ |
| 214 | k=3, iopath=/nvme/tmp/manzano/MAXW-DGTD-test/ |
| 215 | k=3, iopath=/sdv-work/manzano/MAXW-DGTD-test/ |
| 216 | }}} |
| 217 | |