| 259 | '''parameter-sweep''' - allows to define name of the variable and a space of the parameter values for this variable. The directive can be used many times defining multi-dimensional space of parameters. For every parameters' combination a separate task is launched. |
| 260 | |
| 261 | Syntax: |
| 262 | {{{ |
| 263 | #QCG parameter-sweep=VAR->PARAMETER_SPACE |
| 264 | }}} |
| 265 | |
| 266 | The following types of definition are supported: |
| 267 | |
| 268 | * ''list''' - list of comma-separated values |
| 269 | {{{ |
| 270 | #QCG parameter-sweep=var->list:mon,tue,wed,thu,fri,sat,sun |
| 271 | #QCG parameter-sweep=var->list:1,2,3,4,5,6 |
| 272 | }}} |
| 273 | |
| 274 | * ''for''' - values change from ''start'' upto ''end'' with the ''step'' step. Default step is 1. Number decimal digits of the value is equal to the maximal number of decimal digits of ''start'', ''end'', ''step'' values. |
| 275 | |
| 276 | Syntax: |
| 277 | {{{ |
| 278 | #QCG parameter-sweep=var->for:start..end |
| 279 | #QCG parameter-sweep=var->for:start..end..step |
| 280 | }}} |
| 281 | |
| 282 | {{{ |
| 283 | #QCG parameter-sweep=var->for:0..10 |
| 284 | #QCG parameter-sweep=var->for:0..10..2 |
| 285 | #QCG parameter-sweep=var->for:1.0..2.0..0.5 |
| 286 | }}} |
| 287 | |
| 288 | * ''pattern'' - values are names of the files matching the given pattern. |
| 289 | {{{ |
| 290 | #QCG parameter-sweep=var->pattern->*.input |
| 291 | }}} |
| 292 | |
| 293 | * ''file'' - values are taken from next lines of the given file. |
| 294 | {{{ |
| 295 | #QCG parameter-sweep=var->file:file_with_values.txt |
| 296 | }}} |