else if(mpi_datatype==MPI_DOUBLE ) datatype=MPIM_DOUBLE;
else if(mpi_datatype==MPI_BYTE ) datatype=MPIM_BYTE;
else
- THROWF(arg_error,0, "reduce rab algorithm can't be used with this datatype ! ");
+ throw std::invalid_argument("reduce rab algorithm can't be used with this datatype!");
if (mpi_op==MPI_MAX ) op=MPIM_MAX;
else if(mpi_op==MPI_MIN ) op=MPIM_MIN;