* under the terms of the license (GNU LGPL) which comes with this package. */
#include "../colls_private.h"
-#include <math.h>
+#include <cmath>
/*****************************************************************************
algorithm. It actually performs allgather operation in x dimension
then in the y dimension. Each node then extracts the needed data.
The communication in each dimension follows "simple."
-
+
* Auther: Ahmad Faraj
****************************************************************************/
num_procs = comm->size();
extent = send_type->get_extent();
- if (!alltoall_check_is_2dmesh(num_procs, &X, &Y))
+ if (not alltoall_check_is_2dmesh(num_procs, &X, &Y))
return MPI_ERR_OTHER;
my_row_base = (rank / Y) * Y;