@@ -52,10+52,10 @@ int Coll_allgather_mvapich2_smp::allgather(void *sendbuf,int sendcnt, MPI_Dataty
if(comm->get_leaders_comm()==MPI_COMM_NULL){
comm->init_smp();
}
if(comm->get_leaders_comm()==MPI_COMM_NULL){
comm->init_smp();
}
-
- if(!comm->is_uniform() || !comm->is_blocked())
+
+ if (not comm->is_uniform() || not comm->is_blocked())
THROWF(arg_error,0, "allgather MVAPICH2 smp algorithm can't be used with irregular deployment. Please insure that processes deployed on the same node are contiguous and that each node has the same number of processes");
THROWF(arg_error,0, "allgather MVAPICH2 smp algorithm can't be used with irregular deployment. Please insure that processes deployed on the same node are contiguous and that each node has the same number of processes");
-
+
if (recvcnt == 0) {
return MPI_SUCCESS;
}
if (recvcnt == 0) {
return MPI_SUCCESS;
}
@@ -65,7+65,7 @@ int Coll_allgather_mvapich2_smp::allgather(void *sendbuf,int sendcnt, MPI_Dataty
/* extract the rank,size information for the intra-node communicator */
recvtype_extent=recvtype->get_extent();
/* extract the rank,size information for the intra-node communicator */
recvtype_extent=recvtype->get_extent();
-
+
shmem_comm = comm->get_intra_comm();
local_rank = shmem_comm->rank();
local_size = shmem_comm->size();
shmem_comm = comm->get_intra_comm();
local_rank = shmem_comm->rank();
local_size = shmem_comm->size();
@@ -82,20+82,20 @@ int Coll_allgather_mvapich2_smp::allgather(void *sendbuf,int sendcnt, MPI_Dataty