#define COLL_TAG_ALLREDUCE -4445
#define SMPI_RMA_TAG -1234
-#define MPI_COMM_UNINITIALIZED ((MPI_Comm)-1)
+extern XBT_PRIVATE MPI_Comm MPI_COMM_UNINITIALIZED;
typedef struct s_smpi_mpi_request {
void *buf;
xbt_dict_t smpi_comm_keyvals = nullptr;
int comm_keyval_id = 0;//avoid collisions
+
+simgrid::SMPI::Comm mpi_MPI_COMM_UNINITIALIZED;
+MPI_Comm MPI_COMM_UNINITIALIZED=&mpi_MPI_COMM_UNINITIALIZED;
+
/* Support for cartesian topology was added, but there are 2 other types of topology, graph et dist graph. In order to
* support them, we have to add a field MPIR_Topo_type, and replace the MPI_Topology field by an union. */
namespace simgrid{
namespace SMPI{
+Comm::Comm(){}
+
Comm::Comm(MPI_Group group, MPI_Topology topo)
{
m_group = group;