X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/12c0f182635ed71b370d608b5b9a614153765cd4..21446da234b79358c6f7ed918e582e7e5a36d8b3:/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);