From 06d0a5a93535c854e4ff4d03e8f327ddd27ff803 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Fri, 3 Aug 2018 13:16:11 +0200 Subject: [PATCH] [SMPI] Fix datatype to aid_t instead of int --- include/simgrid/smpi/replay.hpp | 2 +- src/smpi/plugins/sampi_loadbalancer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/simgrid/smpi/replay.hpp b/include/simgrid/smpi/replay.hpp index 034e065edf..02caf33d6b 100644 --- a/include/simgrid/smpi/replay.hpp +++ b/include/simgrid/smpi/replay.hpp @@ -171,7 +171,7 @@ public: template class ReplayAction { protected: const std::string name; - const int my_proc_id; + const aid_t my_proc_id; T args; public: diff --git a/src/smpi/plugins/sampi_loadbalancer.cpp b/src/smpi/plugins/sampi_loadbalancer.cpp index e32317e51d..99e1bcc929 100644 --- a/src/smpi/plugins/sampi_loadbalancer.cpp +++ b/src/smpi/plugins/sampi_loadbalancer.cpp @@ -68,7 +68,7 @@ public: static bool was_executed = false; if (not was_executed) { was_executed = true; - XBT_DEBUG("Process %u runs the load balancer", my_proc_id); + XBT_DEBUG("Process %li runs the load balancer", my_proc_id); smpi_bench_begin(); lb.run(); smpi_bench_end(); -- 2.20.1