Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 23 Dec 2019 13:55:49 +0000 (14:55 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 23 Dec 2019 13:55:49 +0000 (14:55 +0100)
include/simgrid/jedule/jedule_platform.hpp
src/mc/inspect/Frame.hpp
src/smpi/include/smpi_comm.hpp
src/smpi/mpi/smpi_comm.cpp

index ed27a85..faa128b 100644 (file)
@@ -22,7 +22,7 @@ public:
   Container& operator=(const Container&) = delete;
 
 private:
-  int last_id_;
+  int last_id_   = 0;
   int is_lowest_ = 0;
 
 public:
index a9526f4..385eca6 100644 (file)
@@ -56,7 +56,6 @@ public:
   void* frame_base(unw_cursor_t& unw_cursor) const;
   void remove_variable(char* name);
 };
-
 } // namespace mc
 } // namespace simgrid
 
index 1febed3..06280b2 100644 (file)
@@ -34,7 +34,7 @@ class Comm : public F2C, public Keyval{
   std::string name_;
   MPI_Info info_ = MPI_INFO_NULL;
   int id_;
-  MPI_Errhandler errhandler_;
+  MPI_Errhandler errhandler_ = MPI_ERRORS_ARE_FATAL;
 
 public:
   static std::unordered_map<int, smpi_key_elem> keyvals_;
index ac061c0..85267e8 100644 (file)
@@ -30,7 +30,6 @@ int Comm::keyval_id_=0;
 
 Comm::Comm(MPI_Group group, MPI_Topology topo, int smp, int in_id) : group_(group), topo_(topo),is_smp_comm_(smp), id_(in_id)
 {
-  errhandler_      = MPI_ERRORS_ARE_FATAL;
   errhandler_->ref();
   //First creation of comm is done before SIMIX_run, so only do comms for others
   if(in_id==MPI_UNDEFINED && smp==0 && this->rank()!=MPI_UNDEFINED ){