Skip to content

Commit

Permalink
ADIOS2 < v2.9 compatibility in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Nov 16, 2023
1 parent 3d35d8d commit 0ec5af4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/ParallelIOTest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* Running this test in parallel with MPI requires MPI::Init.
* To guarantee a correct call to Init, launch the tests manually.
*/
#include "openPMD/IO/ADIOS/macros.hpp"
#include "openPMD/auxiliary/Environment.hpp"
#include "openPMD/auxiliary/Filesystem.hpp"
#include "openPMD/openPMD.hpp"
Expand Down Expand Up @@ -1171,12 +1172,16 @@ clevel = "1"
doshuffle = "BLOSC_BITSHUFFLE"
)END";

std::string writeConfigBP4 = R"END(
std::string writeConfigBP4 =
R"END(
[adios2]
unused = "parameter"
attribute_writing_ranks = 0
use_group_table = true
)END"
#if openPMD_HAS_ADIOS_2_9
"use_group_table = true"
#endif
R"END(
[adios2.engine]
type = "bp4"
unused = "as well"
Expand Down

0 comments on commit 0ec5af4

Please sign in to comment.