Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Fix datatype to aid_t instead of int
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Fri, 3 Aug 2018 11:16:11 +0000 (13:16 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Fri, 3 Aug 2018 11:16:20 +0000 (13:16 +0200)
include/simgrid/smpi/replay.hpp
src/smpi/plugins/sampi_loadbalancer.cpp

index 034e065..02caf33 100644 (file)
@@ -171,7 +171,7 @@ public:
 template <class T> class ReplayAction {
 protected:
   const std::string name;
-  const int my_proc_id;
+  const aid_t my_proc_id;
   T args;
 
 public:
index e32317e..99e1bcc 100644 (file)
@@ -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();