openPMD-api 0.17.1.post1__tar.gz → 0.17.1.post3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/CMakeLists.txt +16 -8
  2. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/PKG-INFO +1 -1
  3. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD_api.egg-info/PKG-INFO +1 -1
  4. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/setup.py +24 -30
  5. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/HDF5/HDF5IOHandler.cpp +31 -9
  6. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/COPYING +0 -0
  7. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/COPYING.LESSER +0 -0
  8. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/MANIFEST.in +0 -0
  9. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/README.md +0 -0
  10. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/cmake/dependencies/catch.cmake +0 -0
  11. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/cmake/dependencies/json.cmake +0 -0
  12. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/cmake/dependencies/pybind11.cmake +0 -0
  13. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/cmake/dependencies/toml11.cmake +0 -0
  14. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/cmake/openPMDFunctions.cmake +0 -0
  15. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/10_streaming_read.cpp +0 -0
  16. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/10_streaming_read.py +0 -0
  17. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/10_streaming_write.cpp +0 -0
  18. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/10_streaming_write.py +0 -0
  19. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/11_particle_dataframe.py +0 -0
  20. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/12_span_write.cpp +0 -0
  21. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/12_span_write.py +0 -0
  22. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/13_write_dynamic_configuration.cpp +0 -0
  23. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/13_write_dynamic_configuration.py +0 -0
  24. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/14_toml_template.cpp +0 -0
  25. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/15_compression.cpp +0 -0
  26. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/15_compression.py +0 -0
  27. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/1_structure.cpp +0 -0
  28. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/2_read_serial.cpp +0 -0
  29. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/2_read_serial.py +0 -0
  30. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/2a_read_thetaMode_serial.cpp +0 -0
  31. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/2a_read_thetaMode_serial.py +0 -0
  32. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/3_write_serial.cpp +0 -0
  33. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/3_write_serial.py +0 -0
  34. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/3a_write_thetaMode_serial.cpp +0 -0
  35. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/3a_write_thetaMode_serial.py +0 -0
  36. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/3b_write_resizable_particles.cpp +0 -0
  37. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/3b_write_resizable_particles.py +0 -0
  38. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/4_read_parallel.cpp +0 -0
  39. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/4_read_parallel.py +0 -0
  40. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/5_write_parallel.cpp +0 -0
  41. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/5_write_parallel.py +0 -0
  42. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/6_dump_filebased_series.cpp +0 -0
  43. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/7_extended_write_serial.cpp +0 -0
  44. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/7_extended_write_serial.py +0 -0
  45. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/8_benchmark_parallel.cpp +0 -0
  46. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/8a_benchmark_write_parallel.cpp +0 -0
  47. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/8b_benchmark_read_parallel.cpp +0 -0
  48. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/examples/9_particle_write_serial.py +0 -0
  49. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/ChunkInfo.hpp +0 -0
  50. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/ChunkInfo_internal.hpp +0 -0
  51. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Dataset.hpp +0 -0
  52. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Datatype.hpp +0 -0
  53. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Datatype.tpp +0 -0
  54. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/DatatypeHelpers.hpp +0 -0
  55. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/DatatypeMacros.hpp +0 -0
  56. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Datatype_internal.hpp +0 -0
  57. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Error.hpp +0 -0
  58. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/ADIOS/ADIOS2Auxiliary.hpp +0 -0
  59. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/ADIOS/ADIOS2File.hpp +0 -0
  60. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/ADIOS/ADIOS2FilePosition.hpp +0 -0
  61. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/ADIOS/ADIOS2IOHandler.hpp +0 -0
  62. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/ADIOS/ADIOS2PreloadAttributes.hpp +0 -0
  63. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/ADIOS/ADIOS2PreloadVariables.hpp +0 -0
  64. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/ADIOS/macros.hpp +0 -0
  65. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/AbstractFilePosition.hpp +0 -0
  66. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/AbstractIOHandler.hpp +0 -0
  67. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/AbstractIOHandlerHelper.hpp +0 -0
  68. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/AbstractIOHandlerImpl.hpp +0 -0
  69. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/AbstractIOHandlerImplCommon.hpp +0 -0
  70. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/Access.hpp +0 -0
  71. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/DummyIOHandler.hpp +0 -0
  72. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/FlushParametersInternal.hpp +0 -0
  73. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/Format.hpp +0 -0
  74. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/HDF5/HDF5Auxiliary.hpp +0 -0
  75. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/HDF5/HDF5FilePosition.hpp +0 -0
  76. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/HDF5/HDF5IOHandler.hpp +0 -0
  77. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/HDF5/HDF5IOHandlerImpl.hpp +0 -0
  78. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/HDF5/ParallelHDF5IOHandler.hpp +0 -0
  79. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/HDF5/ParallelHDF5IOHandlerImpl.hpp +0 -0
  80. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/IOTask.hpp +0 -0
  81. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/InvalidatableFile.hpp +0 -0
  82. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/JSON/JSONFilePosition.hpp +0 -0
  83. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/JSON/JSONIOHandler.hpp +0 -0
  84. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IO/JSON/JSONIOHandlerImpl.hpp +0 -0
  85. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Iteration.hpp +0 -0
  86. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/IterationEncoding.hpp +0 -0
  87. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Mesh.hpp +0 -0
  88. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/ParticlePatches.hpp +0 -0
  89. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/ParticleSpecies.hpp +0 -0
  90. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/ReadIterations.hpp +0 -0
  91. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Record.hpp +0 -0
  92. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/RecordComponent.hpp +0 -0
  93. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/RecordComponent.tpp +0 -0
  94. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Series.hpp +0 -0
  95. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Span.hpp +0 -0
  96. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/Streaming.hpp +0 -0
  97. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/ThrowError.hpp +0 -0
  98. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/UndefDatatypeMacros.hpp +0 -0
  99. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/UnitDimension.hpp +0 -0
  100. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/WriteIterations.hpp +0 -0
  101. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/BlockSlicer.hpp +0 -0
  102. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Date.hpp +0 -0
  103. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Defer.hpp +0 -0
  104. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/DerefDynamicCast.hpp +0 -0
  105. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Environment.hpp +0 -0
  106. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Export.hpp +0 -0
  107. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Filesystem.hpp +0 -0
  108. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/JSON.hpp +0 -0
  109. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/JSONMatcher.hpp +0 -0
  110. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/JSON_internal.hpp +0 -0
  111. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Memory.hpp +0 -0
  112. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Memory_internal.hpp +0 -0
  113. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Mpi.hpp +0 -0
  114. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/OneDimensionalBlockSlicer.hpp +0 -0
  115. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/OutOfRangeMsg.hpp +0 -0
  116. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/ShareRaw.hpp +0 -0
  117. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/ShareRawInternal.hpp +0 -0
  118. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/StringManip.hpp +0 -0
  119. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/TypeTraits.hpp +0 -0
  120. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/UniquePtr.hpp +0 -0
  121. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/Variant.hpp +0 -0
  122. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/auxiliary/toml11_wrapper.hpp +0 -0
  123. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/Attributable.hpp +0 -0
  124. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/Attribute.hpp +0 -0
  125. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/BaseRecord.hpp +0 -0
  126. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/BaseRecordComponent.hpp +0 -0
  127. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/Container.hpp +0 -0
  128. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/ContainerImpl.tpp +0 -0
  129. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/MeshRecordComponent.hpp +0 -0
  130. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/ParsePreference.hpp +0 -0
  131. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/PatchRecord.hpp +0 -0
  132. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/PatchRecordComponent.hpp +0 -0
  133. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/Variant_internal.hpp +0 -0
  134. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/backend/Writable.hpp +0 -0
  135. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/MemoryProfiler.hpp +0 -0
  136. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/Timer.hpp +0 -0
  137. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/mpi/BlockSlicer.hpp +0 -0
  138. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/mpi/DatasetFiller.hpp +0 -0
  139. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/mpi/MPIBenchmark.hpp +0 -0
  140. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/mpi/MPIBenchmarkReport.hpp +0 -0
  141. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/mpi/OneDimensionalBlockSlicer.hpp +0 -0
  142. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/benchmark/mpi/RandomDatasetFiller.hpp +0 -0
  143. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/Common.hpp +0 -0
  144. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/Container.H +0 -0
  145. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/Mpi.hpp +0 -0
  146. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/Numpy.hpp +0 -0
  147. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/Pickle.hpp +0 -0
  148. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/RecordComponent.hpp +0 -0
  149. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/UnitDimension.hpp +0 -0
  150. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/binding/python/auxiliary.hpp +0 -0
  151. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/cli/ls.hpp +0 -0
  152. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/config.hpp.in +0 -0
  153. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/helper/list_series.hpp +0 -0
  154. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/openPMD.hpp +0 -0
  155. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/snapshots/ContainerImpls.hpp +0 -0
  156. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/snapshots/ContainerTraits.hpp +0 -0
  157. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/snapshots/IteratorHelpers.hpp +0 -0
  158. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/snapshots/IteratorTraits.hpp +0 -0
  159. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/snapshots/RandomAccessIterator.hpp +0 -0
  160. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/snapshots/Snapshots.hpp +0 -0
  161. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/snapshots/StatefulIterator.hpp +0 -0
  162. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/include/openPMD/version.hpp +0 -0
  163. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD.pc.in +0 -0
  164. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMDConfig.cmake.in +0 -0
  165. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD_api.egg-info/SOURCES.txt +0 -0
  166. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD_api.egg-info/dependency_links.txt +0 -0
  167. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD_api.egg-info/entry_points.txt +0 -0
  168. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD_api.egg-info/not-zip-safe +0 -0
  169. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD_api.egg-info/requires.txt +0 -0
  170. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/openPMD_api.egg-info/top_level.txt +0 -0
  171. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/pyproject.toml +0 -0
  172. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/requirements.txt +0 -0
  173. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/setup.cfg +0 -0
  174. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/download_samples.ps1 +0 -0
  175. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/download_samples.sh +0 -0
  176. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/Makefile +0 -0
  177. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/README.md +0 -0
  178. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/attribute_defs.toml +0 -0
  179. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/attributes.toml +0 -0
  180. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/check.py +0 -0
  181. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/dataset_defs.toml +0 -0
  182. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/iteration.toml +0 -0
  183. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/mesh.toml +0 -0
  184. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/mesh_record_component.toml +0 -0
  185. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/particle_patches.toml +0 -0
  186. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/particle_species.toml +0 -0
  187. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/patch_record.toml +0 -0
  188. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/record.toml +0 -0
  189. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/record_component.toml +0 -0
  190. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/json_schema/series.toml +0 -0
  191. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/share/openPMD/validate_files.sh +0 -0
  192. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/ChunkInfo.cpp +0 -0
  193. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Dataset.cpp +0 -0
  194. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Datatype.cpp +0 -0
  195. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Error.cpp +0 -0
  196. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Format.cpp +0 -0
  197. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/ADIOS/ADIOS2Auxiliary.cpp +0 -0
  198. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/ADIOS/ADIOS2File.cpp +0 -0
  199. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/ADIOS/ADIOS2IOHandler.cpp +0 -0
  200. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/ADIOS/ADIOS2PreloadAttributes.cpp +0 -0
  201. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/ADIOS/ADIOS2PreloadVariables.cpp +0 -0
  202. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/AbstractIOHandler.cpp +0 -0
  203. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/AbstractIOHandlerHelper.cpp +0 -0
  204. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/AbstractIOHandlerImpl.cpp +0 -0
  205. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/Access.cpp +0 -0
  206. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/DummyIOHandler.cpp +0 -0
  207. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/FlushParams.cpp +0 -0
  208. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/HDF5/HDF5Auxiliary.cpp +0 -0
  209. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/HDF5/ParallelHDF5IOHandler.cpp +0 -0
  210. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/IOTask.cpp +0 -0
  211. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/InvalidatableFile.cpp +0 -0
  212. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/JSON/JSONFilePosition.cpp +0 -0
  213. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/JSON/JSONIOHandler.cpp +0 -0
  214. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IO/JSON/JSONIOHandlerImpl.cpp +0 -0
  215. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Iteration.cpp +0 -0
  216. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/IterationEncoding.cpp +0 -0
  217. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Mesh.cpp +0 -0
  218. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/ParticlePatches.cpp +0 -0
  219. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/ParticleSpecies.cpp +0 -0
  220. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/ReadIterations.cpp +0 -0
  221. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Record.cpp +0 -0
  222. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/RecordComponent.cpp +0 -0
  223. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/Series.cpp +0 -0
  224. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/UnitDimension.cpp +0 -0
  225. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/Date.cpp +0 -0
  226. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/Filesystem.cpp +0 -0
  227. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/JSON.cpp +0 -0
  228. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/JSONMatcher.cpp +0 -0
  229. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/Memory.cpp +0 -0
  230. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/Mpi.cpp +0 -0
  231. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/OneDimensionalBlockSlicer.cpp +0 -0
  232. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/UniquePtr.cpp +0 -0
  233. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/auxiliary/Variant.cpp +0 -0
  234. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/Attributable.cpp +0 -0
  235. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/Attribute.cpp +0 -0
  236. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/BaseRecord.cpp +0 -0
  237. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/BaseRecordComponent.cpp +0 -0
  238. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/Container.cpp +0 -0
  239. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/MeshRecordComponent.cpp +0 -0
  240. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/PatchRecord.cpp +0 -0
  241. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/PatchRecordComponent.cpp +0 -0
  242. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/backend/Writable.cpp +0 -0
  243. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Access.cpp +0 -0
  244. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Attributable.cpp +0 -0
  245. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/BaseRecordComponent.cpp +0 -0
  246. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/ChunkInfo.cpp +0 -0
  247. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Dataset.cpp +0 -0
  248. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Datatype.cpp +0 -0
  249. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Error.cpp +0 -0
  250. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Helper.cpp +0 -0
  251. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Iteration.cpp +0 -0
  252. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/IterationEncoding.cpp +0 -0
  253. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Mesh.cpp +0 -0
  254. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/MeshRecordComponent.cpp +0 -0
  255. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/ParticlePatches.cpp +0 -0
  256. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/ParticleSpecies.cpp +0 -0
  257. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/PatchRecord.cpp +0 -0
  258. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/PatchRecordComponent.cpp +0 -0
  259. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Record.cpp +0 -0
  260. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/RecordComponent.cpp +0 -0
  261. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/Series.cpp +0 -0
  262. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/UnitDimension.cpp +0 -0
  263. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/auxiliary.cpp +0 -0
  264. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openPMD.cpp +0 -0
  265. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/DaskArray.py +0 -0
  266. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/DaskDataFrame.py +0 -0
  267. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/DataFrame.py +0 -0
  268. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/__init__.py +0 -0
  269. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/ls/__init__.py +0 -0
  270. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/ls/__main__.py +0 -0
  271. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/pipe/__init__.py +0 -0
  272. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/binding/python/openpmd_api/pipe/__main__.py +0 -0
  273. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/cli/convert-toml-json.cpp +0 -0
  274. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/cli/ls.cpp +0 -0
  275. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/cli/pipe.py +0 -0
  276. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/config.cpp +0 -0
  277. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/helper/list_series.cpp +0 -0
  278. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/snapshots/ContainerImpls.cpp +0 -0
  279. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/snapshots/ContainerTraits.cpp +0 -0
  280. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/snapshots/IteratorHelpers.cpp +0 -0
  281. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/snapshots/IteratorTraits.cpp +0 -0
  282. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/snapshots/RandomAccessIterator.cpp +0 -0
  283. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/snapshots/Snapshots.cpp +0 -0
  284. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/snapshots/StatefulIterator.cpp +0 -0
  285. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/src/version.cpp +0 -0
  286. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/AuxiliaryTest.cpp +0 -0
  287. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/CatchRunner.cpp +0 -0
  288. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/CoreTest.cpp +0 -0
  289. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_Core/CoreTests.hpp +0 -0
  290. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_Core/automatic_variable_encoding.cpp +0 -0
  291. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_Core/read_nonexistent_attribute.cpp +0 -0
  292. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_ParallelIO/ParallelIOTests.hpp +0 -0
  293. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_ParallelIO/bug_1655_bp5_writer_hangup.cpp +0 -0
  294. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_ParallelIO/iterate_nonstreaming_series.cpp +0 -0
  295. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_ParallelIO/read_variablebased_randomaccess.cpp +0 -0
  296. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_SerialIO/SerialIOTests.hpp +0 -0
  297. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_SerialIO/close_and_reopen_test.cpp +0 -0
  298. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_SerialIO/components_without_extent.cpp +0 -0
  299. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_SerialIO/filebased_write_test.cpp +0 -0
  300. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/Files_SerialIO/issue_1744_unique_ptrs_at_close_time.cpp +0 -0
  301. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/JSONTest.cpp +0 -0
  302. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/ParallelIOTest.cpp +0 -0
  303. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/SerialIOTest.cpp +0 -0
  304. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/python/unittest/API/APITest.py +0 -0
  305. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/python/unittest/API/__init__.py +0 -0
  306. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/python/unittest/Test.py +0 -0
  307. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/python/unittest/TestUtilities/TestUtilities.py +0 -0
  308. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/python/unittest/TestUtilities/__init__.py +0 -0
  309. {openpmd_api-0.17.1.post1 → openpmd_api-0.17.1.post3}/test/python/unittest/__init__.py +0 -0
@@ -297,14 +297,6 @@ endif()
297
297
  # The following configuration files were considered but not accepted:
298
298
  # ../share/cmake/hdf5/hdf5-config.cmake, version: 1.10.7
299
299
  # - thus, we do our own HDF5_VERSION check...
300
- # external library: ZLIB (work-around for an upstream HDF5 packaging issue)
301
- # Static build of HDF5 forget to do `find_dependency(ZLIB) in their
302
- # CMake config, but expose them in INTERFACE_LINK_LIBRARIES. Thus,
303
- # find_package(HDF5) fails. ZLIB is optional but usually used by HDF5.
304
- if(HDF5_USE_STATIC_LIBRARIES AND NOT TARGET ZLIB::ZLIB)
305
- find_package(ZLIB QUIET)
306
- endif()
307
-
308
300
  if(openPMD_USE_HDF5 STREQUAL AUTO)
309
301
  set(HDF5_PREFER_PARALLEL ${openPMD_HAVE_MPI})
310
302
  find_package(HDF5 COMPONENTS C)
@@ -634,6 +626,22 @@ if(openPMD_HAVE_PYTHON)
634
626
  set_target_properties(openPMD.py PROPERTIES CXX_VISIBILITY_PRESET "hidden"
635
627
  CUDA_VISIBILITY_PRESET "hidden")
636
628
 
629
+ # Co-load safety: statically-embedded dependencies (HDF5, ADIOS2, blosc2,
630
+ # and the openPMD core archive) are compiled without hidden visibility, so
631
+ # their symbols would otherwise be re-exported from this Python extension.
632
+ # If another extension loaded in the same process also statically embeds
633
+ # them (ImpactX, WarpX, a second openPMD), the duplicate exported symbols
634
+ # cross-bind -> two HDF5/openPMD instances in one process -> crash on the
635
+ # first file open. Export only the module init symbol so each extension
636
+ # keeps its dependencies private. (Windows PE does not auto-export and
637
+ # Emscripten links a single namespace, so neither needs this.)
638
+ if(APPLE)
639
+ target_link_options(openPMD.py PRIVATE
640
+ "LINKER:-exported_symbol,_PyInit_openpmd_api_cxx")
641
+ elseif(NOT WIN32 AND NOT EMSCRIPTEN)
642
+ target_link_options(openPMD.py PRIVATE "LINKER:--exclude-libs,ALL")
643
+ endif()
644
+
637
645
  # ancient Clang releases
638
646
  # https://github.com/openPMD/openPMD-api/issues/542
639
647
  # https://pybind11.readthedocs.io/en/stable/faq.html#recursive-template-instantiation-exceeded-maximum-depth-of-256
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openPMD-api
3
- Version: 0.17.1.post1
3
+ Version: 0.17.1.post3
4
4
  Summary: C++ & Python API for Scientific I/O with openPMD
5
5
  Home-page: https://www.openPMD.org
6
6
  Author: Axel Huebl, Franz Poeschel, Fabian Koller, Junmin Gu
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openPMD-api
3
- Version: 0.17.1.post1
3
+ Version: 0.17.1.post3
4
4
  Summary: C++ & Python API for Scientific I/O with openPMD
5
5
  Home-page: https://www.openPMD.org
6
6
  Author: Axel Huebl, Franz Poeschel, Fabian Koller, Junmin Gu
@@ -3,7 +3,6 @@ import platform
3
3
  import re
4
4
  import subprocess
5
5
  import sys
6
- import sysconfig
7
6
 
8
7
  from setuptools import Extension, setup
9
8
  from setuptools.command.build_ext import build_ext
@@ -46,28 +45,14 @@ class CMakeBuild(build_ext):
46
45
  extdir += os.path.sep
47
46
 
48
47
  pyv = sys.version_info
49
- # cross-compiling (e.g. Pyodide)? host & target Python differ
50
- emscripten = sysconfig.get_platform().startswith('emscripten')
51
- cmake_args = []
52
- # FindPython: pin to the calling interpreter unless the caller
53
- # overrides via openPMD_CMAKE_Python_*. Cross builds keep these host
54
- # hints (to resolve the interpreter/library for Development.Module),
55
- # but override the target headers (below) and relax the exact-version
56
- # match. See:
57
- # https://cmake.org/cmake/help/latest/module/FindPython.html#hints
58
- if emscripten or not \
59
- any(k.startswith('openPMD_CMAKE_Python_') for k in os.environ):
60
- cmake_args += [
61
- '-DPython_ROOT_DIR=' + sys.prefix,
62
- f'-DPython_FIND_VERSION={pyv.major}.{pyv.minor}.{pyv.micro}',
63
- '-DPython_FIND_VERSION_EXACT=' + (
64
- 'FALSE' if emscripten else 'TRUE'),
65
- '-DPython_FIND_STRATEGY=LOCATION',
66
- ]
67
- if emscripten:
68
- cmake_args += ['-DPython_INCLUDE_DIR='
69
- + sysconfig.get_config_var('INCLUDEPY')]
70
- cmake_args += [
48
+ cmake_args = [
49
+ # Python: use the calling interpreter in CMake
50
+ # https://cmake.org/cmake/help/latest/module/FindPython.html#hints
51
+ # https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-version-selection
52
+ '-DPython_ROOT_DIR=' + sys.prefix,
53
+ f'-DPython_FIND_VERSION={pyv.major}.{pyv.minor}.{pyv.micro}',
54
+ '-DPython_FIND_VERSION_EXACT=TRUE',
55
+ '-DPython_FIND_STRATEGY=LOCATION',
71
56
  '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' +
72
57
  os.path.join(extdir, "openpmd_api"),
73
58
  # '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=' + extdir,
@@ -171,13 +156,22 @@ CMAKE_INTERPROCEDURAL_OPTIMIZATION = os.environ.get(
171
156
 
172
157
  # extra CMake arguments
173
158
  extra_cmake_args = []
159
+ # Pass openPMD_CMAKE_<CMakeVar>=<value> environment variables through as -D
160
+ # flags. Windows upper-cases environment variable names, so also accept the
161
+ # all-caps variant of the prefix; the openPMD CMake option names are case-
162
+ # sensitive, so restore the "openPMD_" prefix that upper-casing would destroy.
163
+ extra_cmake_args_prefix = "openPMD_CMAKE_"
174
164
  for k, v in os.environ.items():
175
- extra_cmake_args_prefix = "openPMD_CMAKE_"
176
- if k.startswith(extra_cmake_args_prefix) and \
177
- len(k) > len(extra_cmake_args_prefix):
178
- extra_cmake_args.append("-D{0}={1}".format(
179
- k[len(extra_cmake_args_prefix):],
180
- v))
165
+ if k.startswith(extra_cmake_args_prefix):
166
+ cmake_var = k[len(extra_cmake_args_prefix):]
167
+ elif k.startswith(extra_cmake_args_prefix.upper()):
168
+ cmake_var = k[len(extra_cmake_args_prefix):]
169
+ if cmake_var.startswith("OPENPMD_"):
170
+ cmake_var = "openPMD_" + cmake_var[len("openPMD_"):]
171
+ else:
172
+ continue
173
+ if cmake_var:
174
+ extra_cmake_args.append("-D{0}={1}".format(cmake_var, v))
181
175
 
182
176
  # https://cmake.org/cmake/help/v3.0/command/if.html
183
177
  if openPMD_USE_MPI.upper() in ['1', 'ON', 'TRUE', 'YES']:
@@ -196,7 +190,7 @@ with open('./requirements.txt') as f:
196
190
  setup(
197
191
  name='openPMD-api',
198
192
  # note PEP-440 syntax: x.y.zaN but x.y.z.devN
199
- version='0.17.1.post1',
193
+ version='0.17.1.post3',
200
194
  author='Axel Huebl, Franz Poeschel, Fabian Koller, Junmin Gu',
201
195
  author_email='axelhuebl@lbl.gov, f.poeschel@hzdr.de',
202
196
  maintainer='Axel Huebl',
@@ -99,6 +99,28 @@ constexpr char const *const flush_cfg_mask = &R"(
99
99
  "independent_stores": null
100
100
  })"[1];
101
101
 
102
+ #if defined(__EMSCRIPTEN__)
103
+ // WASM co-load: under Pyodide every extension is a side module sharing ONE
104
+ // global Emscripten namespace, so two wheels that each statically bundle HDF5
105
+ // (e.g. the standalone openpmd_api wheel and the ImpactX wheel, used together)
106
+ // end up with their HDF5 atexit cleanups (H5_term_library) tangled across the
107
+ // two copies, looping forever at process exit ("infinite loop closing library"
108
+ // -> "memory access out of bounds") even after a fully successful run. Symbol
109
+ // hiding cannot prevent this (Pyodide's side-module link exports every symbol
110
+ // regardless of -fvisibility=hidden), so instead tell HDF5 not to install its
111
+ // atexit handler at all -- the OS reclaims the process memory on exit anyway.
112
+ // H5dont_atexit() must run before any other HDF5 call (HDF5 docs) and the HDF5
113
+ // IO handler's own member initializers already create H5 types, so a load-time
114
+ // initializer in this backend translation unit is the earliest safe point. It
115
+ // fires when whichever bundled HDF5 loads first, independent of whether
116
+ // openpmd_api or ImpactX is imported first; the H5_dont_atexit_g flag is
117
+ // interposed across both bundled copies, so this single call covers both.
118
+ namespace
119
+ {
120
+ [[maybe_unused]] herr_t const openpmd_hdf5_dont_atexit = H5dont_atexit();
121
+ } // namespace
122
+ #endif
123
+
102
124
  HDF5IOHandlerImpl::HDF5IOHandlerImpl(
103
125
  AbstractIOHandler *handler, bool do_warn_unused_params)
104
126
  : AbstractIOHandlerImpl(handler)
@@ -1596,16 +1618,16 @@ void HDF5IOHandlerImpl::openDataset(
1596
1618
  else if (H5Tequal(dataset_type, H5T_NATIVE_DOUBLE))
1597
1619
  d = DT::DOUBLE;
1598
1620
  else if (
1599
- H5Tequal(dataset_type, H5T_NATIVE_LDOUBLE) ||
1600
- H5Tequal(dataset_type, m_H5T_LONG_DOUBLE_80_LE))
1621
+ H5Tequal(dataset_type, H5T_NATIVE_LDOUBLE) > 0 ||
1622
+ H5Tequal(dataset_type, m_H5T_LONG_DOUBLE_80_LE) > 0)
1601
1623
  d = DT::LONG_DOUBLE;
1602
- else if (H5Tequal(dataset_type, m_H5T_CFLOAT))
1624
+ else if (H5Tequal(dataset_type, m_H5T_CFLOAT) > 0)
1603
1625
  d = DT::CFLOAT;
1604
- else if (H5Tequal(dataset_type, m_H5T_CDOUBLE))
1626
+ else if (H5Tequal(dataset_type, m_H5T_CDOUBLE) > 0)
1605
1627
  d = DT::CDOUBLE;
1606
1628
  else if (
1607
- H5Tequal(dataset_type, m_H5T_CLONG_DOUBLE) ||
1608
- H5Tequal(dataset_type, m_H5T_CLONG_DOUBLE_80_LE))
1629
+ H5Tequal(dataset_type, m_H5T_CLONG_DOUBLE) > 0 ||
1630
+ H5Tequal(dataset_type, m_H5T_CLONG_DOUBLE_80_LE) > 0)
1609
1631
  d = DT::CLONG_DOUBLE;
1610
1632
  else if (H5Tequal(dataset_type, H5T_NATIVE_USHORT))
1611
1633
  d = DT::USHORT;
@@ -2832,7 +2854,7 @@ void HDF5IOHandlerImpl::readAttribute(
2832
2854
  status = H5Aread(attr_id, attr_type, &l);
2833
2855
  a = Attribute(l);
2834
2856
  }
2835
- else if (H5Tequal(attr_type, m_H5T_LONG_DOUBLE_80_LE))
2857
+ else if (H5Tequal(attr_type, m_H5T_LONG_DOUBLE_80_LE) > 0)
2836
2858
  {
2837
2859
  char bfr[16];
2838
2860
  status = H5Aread(attr_id, attr_type, bfr);
@@ -3114,7 +3136,7 @@ void HDF5IOHandlerImpl::readAttribute(
3114
3136
  status = H5Aread(attr_id, attr_type, vcld.data());
3115
3137
  a = Attribute(vcld);
3116
3138
  }
3117
- else if (H5Tequal(attr_type, m_H5T_CLONG_DOUBLE_80_LE))
3139
+ else if (H5Tequal(attr_type, m_H5T_CLONG_DOUBLE_80_LE) > 0)
3118
3140
  {
3119
3141
  // worst case:
3120
3142
  // sizeof(long double) is only 8, but the dataset on disk has
@@ -3136,7 +3158,7 @@ void HDF5IOHandlerImpl::readAttribute(
3136
3158
  delete[] tmpBuffer;
3137
3159
  a = Attribute(std::move(vcld));
3138
3160
  }
3139
- else if (H5Tequal(attr_type, m_H5T_LONG_DOUBLE_80_LE))
3161
+ else if (H5Tequal(attr_type, m_H5T_LONG_DOUBLE_80_LE) > 0)
3140
3162
  {
3141
3163
  // worst case:
3142
3164
  // sizeof(long double) is only 8, but the dataset on disk has