Skip to content

Commit

Permalink
include atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Dec 10, 2020
1 parent 4dccd5f commit 660b58e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions source/adios2/engine/dataman/DataManWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <atomic>

namespace adios2
{
Expand Down
2 changes: 1 addition & 1 deletion testing/adios2/engine/dataman/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 2 additions & 0 deletions testing/adios2/engine/dataman/TestDataManReliable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 660b58e

Please sign in to comment.