From 0b0b8f8999313ce3423d4de8dd4f4046fce2f8c0 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Tue, 27 Mar 2018 10:51:57 +0200 Subject: [PATCH] [SMPI] Replay: Remove static communicator_size variable - This variable was unused, as all of the actions use something like MPI_COMM_WORLD->size() to obtain the size. --- src/smpi/internals/smpi_replay.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/smpi/internals/smpi_replay.cpp b/src/smpi/internals/smpi_replay.cpp index b8f9165112..0657505103 100644 --- a/src/smpi/internals/smpi_replay.cpp +++ b/src/smpi/internals/smpi_replay.cpp @@ -22,7 +22,6 @@ using simgrid::s4u::Actor; XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_replay,smpi,"Trace Replay with SMPI"); -static int communicator_size = 0; static int active_processes = 0; static std::unordered_map*> reqq; @@ -255,7 +254,6 @@ static void action_finalize(simgrid::xbt::ReplayAction& action) static void action_comm_size(simgrid::xbt::ReplayAction& action) { - communicator_size = parse_double(action[2]); log_timed_action (action, smpi_process()->simulated_elapsed()); } -- 2.20.1