Skip to content

Commit

Permalink
Testing: ADIOS2 < v2.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Dec 12, 2023
1 parent f070d1b commit 7ee5a74
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/SerialIOTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4898,9 +4898,19 @@ TEST_CASE("bp4_steps", "[serial][adios2]")
)";

bp4_steps("../samples/bp4steps.bp", bp4);
bp4_steps("../samples/bp4steps.bp", bp4, Access::READ_LINEAR);
bp4_steps("../samples/nullcore.bp", nullcore, std::nullopt);
bp4_steps("../samples/bp4steps_default.bp", "{}");
// Can use READ_LINEAR with ADIOS2 v2.9 because then we have the group table
// feature and can sensibly parse group-based encoding in step-based mode
bp4_steps(
"../samples/bp4steps.bp",
bp4,
#if openPMD_HAS_ADIOS_2_9
Access::READ_LINEAR
#else
Access::READ_ONLY
#endif
);

#if openPMD_HAS_ADIOS_2_9
/*
Expand Down

0 comments on commit 7ee5a74

Please sign in to comment.