File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff 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 ())
You can’t perform that action at this time.
0 commit comments