X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/15badc71ce964f6dae6428c9a4c0198fad5d4936..954676b700e711f38ec4d286d33d5427d3f4ca46:/src/smpi/colls/allgather-GB.c diff --git a/src/smpi/colls/allgather-GB.c b/src/smpi/colls/allgather-GB.c index f9a1e072b1..b1bcc881d2 100644 --- a/src/smpi/colls/allgather-GB.c +++ b/src/smpi/colls/allgather-GB.c @@ -1,3 +1,9 @@ +/* Copyright (c) 2013-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #include "colls_private.h" // Allgather - gather/bcast algorithm @@ -8,7 +14,7 @@ int smpi_coll_tuned_allgather_GB(void *send_buff, int send_count, { int num_procs; num_procs = smpi_comm_size(comm); - smpi_mpi_gather(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, + mpi_coll_gather_fun(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, 0, comm); mpi_coll_bcast_fun(recv_buff, (recv_count * num_procs), recv_type, 0, comm);