* under the terms of the license (GNU LGPL) which comes with this package. */
#include "private.h"
-#include "smpi_group.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_group, smpi, "Logging specific to SMPI (group)");
simgrid::SMPI::Group mpi_MPI_GROUP_EMPTY;
void Group::destroy()
{
- if(this != smpi_comm_group(MPI_COMM_WORLD)
+ if(this != MPI_COMM_WORLD->group()
&& this != MPI_GROUP_NULL
&& this != MPI_GROUP_EMPTY)
this->unuse();
*newgroup = MPI_GROUP_EMPTY;
} else if (n == m_size) {
*newgroup = this;
- if(this!= smpi_comm_group(MPI_COMM_WORLD)
+ if(this!= MPI_COMM_WORLD->group()
&& this != MPI_GROUP_NULL
- && this != smpi_comm_group(MPI_COMM_SELF)
+ && this != MPI_COMM_SELF->group()
&& this != MPI_GROUP_EMPTY)
this->use();
} else {