From: Christian Heinrich Date: Fri, 3 Aug 2018 11:16:11 +0000 (+0200) Subject: [SMPI] Fix datatype to aid_t instead of int X-Git-Tag: v3_21~310 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/06d0a5a93535c854e4ff4d03e8f327ddd27ff803 [SMPI] Fix datatype to aid_t instead of int --- 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();