Skip to content

Commit

Permalink
ADIOS: More Transport & Compression Doc
Browse files Browse the repository at this point in the history
Add missing `transport-params` option to ADIOS manual
(was only present in `docs/TBG_macros.cfg`).

Also add blosc usage example for compression.
  • Loading branch information
ax3l committed Jul 9, 2018
1 parent 3ea3682 commit 2aaee9c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/TBG_macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ TBG_adios="--adios.period 100 --adios.file simData --adios.source 'species_all,f
# see 'adios_config -m', e.g., for on-the-fly zlib compression
# (compile ADIOS with --with-zlib=<ZLIB_ROOT>)
# --adios.compression zlib
# or
# --adios.compression blosc:threshold=2048,shuffle=bit,lvl=1,threads=6,compressor=zstd
# for parallel large-scale parallel file-systems:
# --adios.aggregators <N * 3> --adios.ost <N>
# avoid writing meta file on massively parallel runs
Expand Down
20 changes: 20 additions & 0 deletions docs/source/usage/plugins/adios.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ PIConGPU command line option description
``--adios.compression`` Set data transform compression method. See ``adios_config -m`` for which compression methods are available. This flag also influences compression for checkpoints.
``--adios.aggregators`` Set number of I/O aggregator nodes for ADIOS ``MPI_AGGREGATE`` transport method.
``--adios.ost`` Set number of I/O OSTs for ADIOS ``MPI_AGGREGATE`` transport method.
``--adios.transport-params`` Further options for transports, see ADIOS manual chapter 6.1.5. Lustre example: ``random_offset=1;stripe_count=4`` (FS chooses OST; user chooses striping factor).
``--adios.disable-meta`` Disable on-the-fly creation of the adios journal file. Allowed values: ``0`` means write a journal file, ``1`` skips its generation.
``--adios.source`` Select data sources to dump. Default is ``species_all,fields_all``, which dumps all fields and particle species.
============================ ==================================================================================================================================================================
Expand All @@ -60,6 +61,25 @@ PIConGPU command line option description
#. dump all species data each 128th time step, **do not create** the adios journal meta file.
#. dump all field data each 1000th time step but **create** the adios journal meta file.

Compression
^^^^^^^^^^^

ADIOS supports various on-the-fly compression methods.
Typical options:

.. code-block:: bash
# single-threaded, slow zlib
--adios.compression zlib
# 6x multi-threaded, fast zstd via blosc, bitshuffle pre-conditioner and compression threshold of 2kB
--adios.compression blosc:threshold=2048,shuffle=bit,lvl=1,threads=6,compressor=zstd
See the `ADIOS manual <https://users.nccs.gov/~pnorbert/ADIOS-UsersManual-1.13.1.pdf>`_, chapter 8.2 for full details.

See ``adios_config -m`` for available compression methods and recompile ADIOS with further dependencies if needed.
Typically, ADIOS adds compressors during the ``configure`` step with options such as ``--with-zlib=<ZLIB_DIR>`` and ``--with-blosc=<BLOSC_DIR>``.

.. _usage-plugins-ADIOS-meta:

Meta Files
Expand Down

0 comments on commit 2aaee9c

Please sign in to comment.