Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add bits and pieces to try to compile dumpi with smpi
[simgrid.git] / src / smpi / smpi_topo.hpp
index 9e419cf..a884931 100644 (file)
@@ -9,13 +9,6 @@
 #include "src/smpi/smpi_comm.hpp"
 #include "src/smpi/smpi_status.hpp"
 
-typedef enum MPIR_Topo_type {
-  MPI_GRAPH=1,
-  MPI_CART=2,
-  MPI_DIST_GRAPH=3,
-  MPI_INVALID_TOPO=-1
-} MPIR_Topo_type;
-
 typedef SMPI_Topology *MPI_Topology;
 
 namespace simgrid{
@@ -37,7 +30,7 @@ class Topo_Cart: public Topo {
     int *periodic_;
     int *position_;
   public:
-    Topo_Cart(int ndims);
+    explicit Topo_Cart(int ndims);
     ~Topo_Cart();
     Topo_Cart(MPI_Comm comm_old, int ndims, int dims[], int periods[], int reorder, MPI_Comm *comm_cart);
     Topo_Cart* sub(const int remain_dims[], MPI_Comm *newcomm) ;