|
| 1 | +*************** |
| 2 | +Campaign Reader |
| 3 | +*************** |
| 4 | + |
| 5 | +The Campaign Reader Engine is a specialty engine made for reading Campaign files (.aca) created with `hpc-campaign <https://hpc-campaign.readthedocs.io>`_ tools. See an `example <../advanced/campaign_management.html>`_. |
| 6 | + |
| 7 | +It is an engine, that uses other engine (BP5, HDF5, Timeseries) to open ADIOS/HDF5 datasets added to the campaign file. It directly supports reading images and text files added to the campaign file. |
| 8 | + |
| 9 | +1. **hostname**: Use this name as local hostname. If the host of a replica of a dataset in the campaign file matches this hostname, it will be regarded as locally readable replica (i.e., its path must be a local path). The default hostname is read from *~/.config/hpc-campaign/config.yaml*. |
| 10 | + |
| 11 | +#. **campaignstorepath**: Use this base path to find campaign files using their relative path/name. Having all campaign files organized under a common base path allows for finding them using a simple relative path under that base path. The default value is read from *~/.config/hpc-campaign/config.yaml*. |
| 12 | + |
| 13 | +#. **cachepath**: Local disk path where extracted pieces from the campaign file are stored, as well as data downloaded by ADIOS when reading remote data. The default value is read from *~/.config/hpc-campaign/config.yaml*. |
| 14 | + |
| 15 | +#. **include-dataset**: As a campaign file contains more and more datasets the open time will increase linearly since ADIOS has to create a reading engine for each BP/HDF5 file, to open that dataset and process it's metadata. If one is only interested in specific datasets in the campaign, a semicolon-separated (;) list of regular expressions can be provided to only open datasets that match one of those expressions. |
| 16 | + |
| 17 | +#. **exclude-dataset**: Similar to the previous option, datasets can be excluded from processing by providing a semicolon-separated list of regular expressions. |
| 18 | + |
| 19 | +#. **verbose**: print debug information on what is happening when reading a campaign file. |
| 20 | + |
| 21 | +=============================== ===================== =========================================================== |
| 22 | + **Key** **Value Format** **Default** and Examples |
| 23 | +=============================== ===================== =========================================================== |
| 24 | + hostname string **hostname** from *~/.config/hpc-campaign/config.yaml* |
| 25 | + campaignstorepath string **campaignstorepath** from *~/.config/hpc-campaign/config.yaml* |
| 26 | + cachepath string **cachepath** from *~/.config/hpc-campaign/config.yaml* |
| 27 | + include-dataset string "include-dataset=.*/images;.*/data" |
| 28 | + exclude-dataset string "exclude-dataset=logs/.*" |
| 29 | + verbose integer **0**, 0..5 |
| 30 | +=============================== ===================== =========================================================== |
0 commit comments