Skip to content

Commit 934b5fc

Browse files
committed
[WIP] Testing
1 parent 82be0cd commit 934b5fc

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

test/ParallelIOTest.cpp

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,11 @@ void adios2_streaming(bool variableBasedLayout)
10661066
if (rank == 0)
10671067
{
10681068
// write
1069-
Series writeSeries("../samples/adios2_stream.sst", Access::CREATE);
1069+
Series writeSeries(
1070+
// filename should be coerced to adios2_stream.sst by the backend
1071+
"../samples/adios2_stream.bp",
1072+
Access::CREATE,
1073+
"adios2.engine.type = \"sst\"");
10701074
if (variableBasedLayout)
10711075
{
10721076
writeSeries.setIterationEncoding(IterationEncoding::variableBased);
@@ -1107,9 +1111,16 @@ void adios2_streaming(bool variableBasedLayout)
11071111
std::this_thread::sleep_for(1s);
11081112

11091113
Series readSeries(
1110-
"../samples/adios2_stream.sst",
1114+
// filename should be coerced t adios2_stream.sst by the backend
1115+
"../samples/adios2_stream",
11111116
Access::READ_ONLY,
1112-
"defer_iteration_parsing = true"); // inline TOML
1117+
// inline TOML
1118+
R"(
1119+
defer_iteration_parsing = true
1120+
backend = "adios2"
1121+
1122+
[adios2.engine]
1123+
type = "sst")");
11131124

11141125
size_t last_iteration_index = 0;
11151126
for (auto iteration : readSeries.readIterations())

0 commit comments

Comments
 (0)