From ca0d59dcde46b3ffa1db03b02898bd1794183113 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Sat, 25 Jan 2020 23:26:54 -0800 Subject: [PATCH] Parallel Test: Flush fileBased Some Add an additional flush - which should be called implicitly anyway in the destructor - and which causes MPI issues. --- test/ParallelIOTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ParallelIOTest.cpp b/test/ParallelIOTest.cpp index ed7291e3be..a9008be057 100644 --- a/test/ParallelIOTest.cpp +++ b/test/ParallelIOTest.cpp @@ -85,6 +85,7 @@ void write_test_zero_extent( bool fileBased, std::string file_ending, bool write e["position"]["x"].storeChunk(position_local, {offset}, {rank}); e["positionOffset"]["x"].storeChunk(positionOffset_local, {offset}, {rank}); } + o.flush(); //TODO read back, verify }