* Descrp: Function works when P is power of two. In each phase of P - 1
phases, nodes in pair communicate their data.
- * Auther: Ahmad Faraj
+ * Author: Ahmad Faraj
****************************************************************************/
namespace simgrid{
num_procs = comm->size();
if((num_procs&(num_procs-1)))
- THROWF(arg_error,0, "alltoallv pair algorithm can't be used with non power of two number of processes ! ");
+ throw std::invalid_argument("alltoallv pair algorithm can't be used with non power of two number of processes!");
send_chunk = send_type->get_extent();
recv_chunk = recv_type->get_extent();