From abdd50d7729bd7ed16782a24d97fe92ff28fb57a Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 27 Mar 2018 15:08:13 +0200 Subject: [PATCH] [SMPI] Replay: Cleanup WaitAction a bit --- src/smpi/internals/smpi_replay.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/smpi/internals/smpi_replay.cpp b/src/smpi/internals/smpi_replay.cpp index d89a3fab25..b12e1e122d 100644 --- a/src/smpi/internals/smpi_replay.cpp +++ b/src/smpi/internals/smpi_replay.cpp @@ -128,9 +128,6 @@ public: WaitAction() : ReplayAction("Wait") {} void kernel(simgrid::xbt::ReplayAction& action) override { - CHECK_ACTION_PARAMS(action, 0, 0) - MPI_Status status; - std::string s = boost::algorithm::join(action, " "); xbt_assert(get_reqq_self()->size(), "action wait not preceded by any irecv or isend: %s", s.c_str()); MPI_Request request = get_reqq_self()->back(); @@ -152,6 +149,7 @@ public: // TODO: Here we take the rank while we normally take the process id (look for my_proc_id) TRACE_smpi_comm_in(rank, __FUNCTION__, new simgrid::instr::NoOpTIData("wait")); + MPI_Status status; Request::wait(&request, &status); TRACE_smpi_comm_out(rank); -- 2.20.1