smpi_switch_data_segment(smpi_process()->index());
}
//identify neighbours in comm
- //get the indexes of all processes sharing the same simix host
+ //get the indices of all processes sharing the same simix host
const auto& process_list = sg_host_self()->extension<simgrid::simix::Host>()->process_list;
int intra_comm_size = 0;
int min_index = INT_MAX; // the minimum index will be the leader