From: Christian Heinrich Date: Tue, 27 Mar 2018 13:08:13 +0000 (+0200) Subject: [SMPI] Replay: Cleanup WaitAction a bit X-Git-Tag: v3.20~600^2~14 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/abdd50d7729bd7ed16782a24d97fe92ff28fb57a?ds=sidebyside [SMPI] Replay: Cleanup WaitAction a bit --- 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);