Skip to content

Commit fe4253d

Browse files
committed
openPMD-api: 0.16.0+
Update to the latest stable release of openPMD-api, version 0.16.0.
1 parent 894a699 commit fe4253d

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

Docs/source/developers/gnumake/openpmd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ therefore we recommend to use `spack <https://
99
spack.io>`__ in order to facilitate the installation.
1010

1111
More specifically, we recommend that you try installing the
12-
`openPMD-api library 0.15.1 or newer <https://openpmd-api.readthedocs.io/en/0.15.1/>`__
12+
`openPMD-api library 0.16.0 or newer <https://openpmd-api.readthedocs.io/en/0.16.0/>`__
1313
using spack (first section below). If this fails, a back-up solution
1414
is to install parallel HDF5 with spack, and then install the openPMD-api
1515
library from source.

Docs/source/install/cmake.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ CMake Option Default & Values Des
129129
``WarpX_amrex_internal`` **ON**/OFF Needs a pre-installed AMReX library if set to ``OFF``
130130
``WarpX_openpmd_src`` *None* Path to openPMD-api source directory (preferred if set)
131131
``WarpX_openpmd_repo`` ``https://github.com/openPMD/openPMD-api.git`` Repository URI to pull and build openPMD-api from
132-
``WarpX_openpmd_branch`` ``0.15.2`` Repository branch for ``WarpX_openpmd_repo``
132+
``WarpX_openpmd_branch`` ``0.16.0`` Repository branch for ``WarpX_openpmd_repo``
133133
``WarpX_openpmd_internal`` **ON**/OFF Needs a pre-installed openPMD-api library if set to ``OFF``
134134
``WarpX_picsar_src`` *None* Path to PICSAR source directory (preferred if set)
135135
``WarpX_picsar_repo`` ``https://github.com/ECP-WarpX/picsar.git`` Repository URI to pull and build PICSAR from

Docs/source/install/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Optional dependencies include:
3131
- `heFFTe 2.4.0+ <https://github.com/icl-utk-edu/heffte>`__: for multi-node spectral solver (IGF) support
3232
- `BLAS++ <https://github.com/icl-utk-edu/blaspp>`__ and `LAPACK++ <https://github.com/icl-utk-edu/lapackpp>`__: for spectral solver (PSATD) support in RZ geometry
3333
- `Boost 1.66.0+ <https://www.boost.org/>`__: for QED lookup tables generation support
34-
- `openPMD-api 0.15.1+ <https://github.com/openPMD/openPMD-api>`__: we automatically download and compile a copy of openPMD-api for openPMD I/O support
34+
- `openPMD-api 0.16.0+ <https://github.com/openPMD/openPMD-api>`__: we automatically download and compile a copy of openPMD-api for openPMD I/O support
3535

3636
- see `optional I/O backends <https://github.com/openPMD/openPMD-api#dependencies>`__, i.e., ADIOS2 and/or HDF5
3737
- `Ascent 0.8.0+ <https://ascent.readthedocs.io>`__: for in situ 3D visualization

Docs/source/usage/parameters.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,18 +2700,18 @@ In-situ capabilities can be used by turning on Sensei or Ascent (provided they a
27002700
When WarpX is compiled with openPMD support, the first available backend in the order given above is taken.
27012701

27022702
* ``<diag_name>.openpmd_encoding`` (optional, ``v`` (variable based), ``f`` (file based) or ``g`` (group based) ) only read if ``<diag_name>.format = openpmd``.
2703-
openPMD `file output encoding <https://openpmd-api.readthedocs.io/en/0.15.2/usage/concepts.html#iteration-and-series>`__.
2703+
openPMD `file output encoding <https://openpmd-api.readthedocs.io/en/0.16.0/usage/concepts.html#iteration-and-series>`__.
27042704
File based: one file per timestep (slower), group/variable based: one file for all steps (faster)).
2705-
``variable based`` is an `experimental feature with ADIOS2 <https://openpmd-api.readthedocs.io/en/0.15.2/backends/adios2.html#experimental-new-adios2-schema>`__ and not supported for back-transformed diagnostics.
2705+
``variable based`` is an `experimental feature with ADIOS2 <https://openpmd-api.readthedocs.io/en/0.16.0/backends/adios2.html#experimental-new-adios2-schema>`__ and not supported for back-transformed diagnostics.
27062706
Default: ``f`` (full diagnostics)
27072707

27082708
* ``<diag_name>.adios2_operator.type`` (``zfp``, ``blosc``) optional,
2709-
`ADIOS2 I/O operator type <https://openpmd-api.readthedocs.io/en/0.15.2/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
2709+
`ADIOS2 I/O operator type <https://openpmd-api.readthedocs.io/en/0.16.0/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
27102710

27112711
* ``<diag_name>.adios2_operator.parameters.*`` optional,
2712-
`ADIOS2 I/O operator parameters <https://openpmd-api.readthedocs.io/en/0.15.2/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
2712+
`ADIOS2 I/O operator parameters <https://openpmd-api.readthedocs.io/en/0.16.0/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
27132713

2714-
A typical example for `ADIOS2 output using lossless compression <https://openpmd-api.readthedocs.io/en/0.15.2/details/backendconfig.html#adios2>`__ with ``blosc`` using the ``zstd`` compressor and 6 CPU treads per MPI Rank (e.g. for a `GPU run with spare CPU resources <https://arxiv.org/abs/1706.00522>`__):
2714+
A typical example for `ADIOS2 output using lossless compression <https://openpmd-api.readthedocs.io/en/0.16.0/details/backendconfig.html#adios2>`__ with ``blosc`` using the ``zstd`` compressor and 6 CPU treads per MPI Rank (e.g. for a `GPU run with spare CPU resources <https://arxiv.org/abs/1706.00522>`__):
27152715

27162716
.. code-block:: text
27172717
@@ -2730,11 +2730,11 @@ In-situ capabilities can be used by turning on Sensei or Ascent (provided they a
27302730
<diag_name>.adios2_operator.parameters.precision = 3
27312731
27322732
* ``<diag_name>.adios2_engine.type`` (``bp4``, ``sst``, ``ssc``, ``dataman``) optional,
2733-
`ADIOS2 Engine type <https://openpmd-api.readthedocs.io/en/0.15.2/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
2733+
`ADIOS2 Engine type <https://openpmd-api.readthedocs.io/en/0.16.0/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
27342734
See full list of engines at `ADIOS2 readthedocs <https://adios2.readthedocs.io/en/latest/engines/engines.html>`__
27352735

27362736
* ``<diag_name>.adios2_engine.parameters.*`` optional,
2737-
`ADIOS2 Engine parameters <https://openpmd-api.readthedocs.io/en/0.15.2/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
2737+
`ADIOS2 Engine parameters <https://openpmd-api.readthedocs.io/en/0.16.0/details/backendconfig.html#adios2>`__ for `openPMD <https://www.openPMD.org>`_ data dumps.
27382738

27392739
An example for parameters for the BP engine are setting the number of writers (``NumAggregators``), transparently redirecting data to burst buffers etc.
27402740
A detailed list of engine-specific parameters are available at the official `ADIOS2 documentation <https://adios2.readthedocs.io/en/latest/engines/engines.html>`__

Source/Diagnostics/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# License: BSD-3-Clause-LBNL
66

77
# keep this entry for GitHub's dependency graph
8-
openPMD-api>=0.15.1
8+
openPMD-api>=0.16.0

Source/Make.WarpX

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ endif
151151

152152
ifeq ($(USE_OPENPMD), TRUE)
153153
# try pkg-config query
154-
ifeq (0, $(shell pkg-config "openPMD >= 0.15.1"; echo $$?))
154+
ifeq (0, $(shell pkg-config "openPMD >= 0.16.0"; echo $$?))
155155
CXXFLAGS += $(shell pkg-config --cflags openPMD)
156156
LIBRARY_LOCATIONS += $(shell pkg-config --variable=libdir openPMD)
157157
libraries += $(shell pkg-config --libs-only-l openPMD)

Tools/machines/karolina-it4i/spack-karolina-cuda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spack:
2020
- py-cython
2121
- py-mpi4py
2222
23-
- openpmd-api@0.15.2 +python
23+
- openpmd-api@0.16.0 +python
2424
2525
- py-h5py
2626
# optional

cmake/dependencies/openPMD.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function(find_openpmd)
1313
if(WarpX_openpmd_internal OR WarpX_openpmd_src)
1414
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
1515

16-
# see https://openpmd-api.readthedocs.io/en/0.15.2/dev/buildoptions.html
16+
# see https://openpmd-api.readthedocs.io/en/0.16.0/dev/buildoptions.html
1717
set(openPMD_USE_ADIOS1 OFF CACHE INTERNAL "")
1818
set(openPMD_USE_MPI ${WarpX_MPI} CACHE INTERNAL "")
1919
set(openPMD_USE_PYTHON OFF CACHE INTERNAL "")
@@ -71,7 +71,7 @@ function(find_openpmd)
7171
else()
7272
set(COMPONENT_WMPI NOMPI)
7373
endif()
74-
find_package(openPMD 0.15.1 CONFIG REQUIRED COMPONENTS ${COMPONENT_WMPI})
74+
find_package(openPMD 0.16.0 CONFIG REQUIRED COMPONENTS ${COMPONENT_WMPI})
7575
message(STATUS "openPMD-api: Found version '${openPMD_VERSION}'")
7676
endif()
7777
endfunction()
@@ -87,7 +87,7 @@ if(WarpX_OPENPMD)
8787
set(WarpX_openpmd_repo "https://github.com/openPMD/openPMD-api.git"
8888
CACHE STRING
8989
"Repository URI to pull and build openPMD-api from if(WarpX_openpmd_internal)")
90-
set(WarpX_openpmd_branch "0.15.2"
90+
set(WarpX_openpmd_branch "0.16.0"
9191
CACHE STRING
9292
"Repository branch for WarpX_openpmd_repo if(WarpX_openpmd_internal)")
9393

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def build_extension(self, ext):
312312
# },
313313
extras_require={
314314
"all": [
315-
"openPMD-api~=0.15.1",
315+
"openPMD-api>=0.16.0",
316316
"openPMD-viewer~=1.1",
317317
"yt>=4.1.0",
318318
"matplotlib",

0 commit comments

Comments
 (0)