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)
1  2 
src/mc/inspect/Frame.hpp
src/smpi/include/smpi_comm.hpp
src/smpi/mpi/smpi_comm.cpp

Simple merge
@@@ -32,9 -32,9 +32,9 @@@ class Comm : public F2C, public Keyval
    int is_smp_comm_;             // set to 0 in case this is already an intra-comm or a leader-comm to avoid recursion
    std::list<MPI_Win> rma_wins_; // attached windows for synchronization.
    std::string name_;
 -  MPI_Info info_;
 +  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_;
@@@ -30,7 -30,9 +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;
 -  intra_comm_      = MPI_COMM_NULL;
 -  leaders_comm_    = MPI_COMM_NULL;
 -  info_            = MPI_INFO_NULL;
    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 ){