-typedef struct s_smpi_mpi_communicator {
- MPI_Group group;
- MPIR_Topo_type topoType;
- MPI_Topology topo; // to be replaced by an union
- int refcount;
- MPI_Comm leaders_comm;//inter-node communicator
- MPI_Comm intra_comm;//intra-node communicator . For MPI_COMM_WORLD this can't be used, as var is global.
- //use an intracomm stored in the process data instead
- int* leaders_map; //who is the leader of each process
- int is_uniform;
- int* non_uniform_map; //set if smp nodes have a different number of processes allocated
- int is_blocked;// are ranks allocated on the same smp node contiguous ?
- xbt_dict_t attributes;
-} s_smpi_mpi_communicator_t;
-