Changes between Version 56 and Version 57 of qcg-directives

Show
Ignore:
Timestamp:
07/14/14 11:11:37 (10 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qcg-directives

    v56 v57  
    257257= parameter-sweep = 
    258258 
     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 
     261Syntax: 
     262{{{ 
     263#QCG parameter-sweep=VAR->PARAMETER_SPACE 
     264}}} 
     265 
     266The 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 
     276Syntax: 
     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}}} 
    259297= persistent = 
    260298'''persistent''' - the directive informing the system to not remove the working directory.