You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support to use adios2's flatten_step (#5634)
To enable it, put it in the openPMD option through input file:
e.g.
```
diag1.openpmd_backend = bp5
diag1.adios2_engine.parameters.FlattenSteps = on
```
This feature is useful for BTD use case. Data can be flushed after each
buffered writes of a snapshot
To check weather this feature is in use, try "bpls -V your_bp_file_name"
Also adds a fix as in openPMD/openPMD-api#1655
for BP5 with file-based encoding, i.e., when some ranks have no
particles.
---------
Co-authored-by: Junmin Gu <junmin@login05.frontier.olcf.ornl.gov>
Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com>
Co-authored-by: Junmin Gu <junmin@login04.frontier.olcf.ornl.gov>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Copy file name to clipboardexpand all lines: Docs/source/usage/parameters.rst
+16-9
Original file line number
Diff line number
Diff line change
@@ -2796,7 +2796,7 @@ In-situ capabilities can be used by turning on Sensei or Ascent (provided they a
2796
2796
Only read if ``<diag_name>.format = sensei``.
2797
2797
When 1 lower left corner of the mesh is pinned to 0.,0.,0.
2798
2798
2799
-
* ``<diag_name>.openpmd_backend`` (``bp``, ``h5`` or ``json``) optional, only used if ``<diag_name>.format = openpmd``
2799
+
* ``<diag_name>.openpmd_backend`` (``bp5``, ``bp4``, ``h5`` or ``json``) optional, only used if ``<diag_name>.format = openpmd``
2800
2800
`I/O backend <https://openpmd-api.readthedocs.io/en/latest/backends/overview.html>`_ for `openPMD <https://www.openPMD.org>`_ data dumps.
2801
2801
``bp`` is the `ADIOS I/O library <https://csmd.ornl.gov/adios>`_, ``h5`` is the `HDF5 format <https://www.hdfgroup.org/solutions/hdf5/>`_, and ``json`` is a `simple text format <https://en.wikipedia.org/wiki/JSON>`_.
2802
2802
``json`` only works with serial/single-rank jobs.
@@ -2818,19 +2818,26 @@ In-situ capabilities can be used by turning on Sensei or Ascent (provided they a
For back-transformed diagnostics with ADIOS BP5, we are experimenting with a new option for variable-based encoding that "flattens" the output steps, aiming to increase write and read performance:
2836
+
2837
+
.. code-block:: text
2838
+
2839
+
<diag_name>.openpmd_backend = bp5
2840
+
<diag_name>.adios2_engine.parameters.FlattenSteps = on
`ADIOS2 Engine type <https://openpmd-api.readthedocs.io/en/0.16.1/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
0 commit comments