X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fbcf6ab31cae1988be858f9f894dafe529c575d7..9b5c287fbf93c2ae7c3d18c8584647ef9920fe87:/src/smpi/colls/allgather/allgather-2dmesh.cpp diff --git a/src/smpi/colls/allgather/allgather-2dmesh.cpp b/src/smpi/colls/allgather/allgather-2dmesh.cpp index cb7ed513fc..b6b06fcb6e 100644 --- a/src/smpi/colls/allgather/allgather-2dmesh.cpp +++ b/src/smpi/colls/allgather/allgather-2dmesh.cpp @@ -130,7 +130,7 @@ Coll_allgather_2dmesh::allgather(const void *send_buff, int send_count, MPI_Data block_size = extent * send_count; if (not is_2dmesh(num_procs, &X, &Y)) - THROWF(arg_error,0, "allgather_2dmesh algorithm can't be used with this number of processes! "); + throw std::invalid_argument("allgather_2dmesh algorithm can't be used with this number of processes!"); my_row_base = (rank / Y) * Y; my_col_base = rank % Y;