-/* Copyright (c) 2013-2014. The SimGrid Team.
+/* Copyright (c) 2013-2017. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
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;