From 660b58e607ece8f2ca11a49bbfbc312e8c06fc1b Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Wed, 9 Dec 2020 16:20:09 -0500 Subject: [PATCH] include atomic --- source/adios2/engine/dataman/DataManWriter.h | 1 + testing/adios2/engine/dataman/CMakeLists.txt | 2 +- testing/adios2/engine/dataman/TestDataManReliable.cpp | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/adios2/engine/dataman/DataManWriter.h b/source/adios2/engine/dataman/DataManWriter.h index ab0e606d49..1af1d69875 100644 --- a/source/adios2/engine/dataman/DataManWriter.h +++ b/source/adios2/engine/dataman/DataManWriter.h @@ -16,6 +16,7 @@ #include "adios2/toolkit/format/dataman/DataManSerializer.tcc" #include "adios2/toolkit/zmq/zmqpubsub/ZmqPubSub.h" #include "adios2/toolkit/zmq/zmqreqrep/ZmqReqRep.h" +#include namespace adios2 { diff --git a/testing/adios2/engine/dataman/CMakeLists.txt b/testing/adios2/engine/dataman/CMakeLists.txt index ac10a88123..74379caa1e 100644 --- a/testing/adios2/engine/dataman/CMakeLists.txt +++ b/testing/adios2/engine/dataman/CMakeLists.txt @@ -8,7 +8,7 @@ foreach(tst IN ITEMS 2DMemSelect 3DMemSelect WriterDoubleBuffer WriterSingleBuffer ReaderDoubleBuffer ReaderSingleBuffer - # Reliable + Reliable ) gtest_add_tests_helper(${tst} MPI_NONE DataMan Engine.DataMan. "") set_tests_properties(${Test.Engine.DataMan.${tst}-TESTS} diff --git a/testing/adios2/engine/dataman/TestDataManReliable.cpp b/testing/adios2/engine/dataman/TestDataManReliable.cpp index 6321867861..9e53dbec40 100644 --- a/testing/adios2/engine/dataman/TestDataManReliable.cpp +++ b/testing/adios2/engine/dataman/TestDataManReliable.cpp @@ -279,11 +279,13 @@ TEST_F(DataManEngineTest, Reliable) // run workflow adios2::Params readerEngineParams = {{"IPAddress", "127.0.0.1"}, {"Port", "12360"}, + {"Verbose", "12360"}, {"TransportMode", "reliable"}}; auto r = std::thread(DataManReader, shape, start, count, steps, readerEngineParams); adios2::Params writerEngineParams = {{"IPAddress", "127.0.0.1"}, {"Port", "12360"}, + {"Verbose", "12360"}, {"TransportMode", "reliable"}}; auto w = std::thread(DataManWriter, shape, start, count, steps, writerEngineParams);