Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
leaks -- with smp algos
[simgrid.git] / src / smpi / colls / allgather-GB.c
index f9a1e07..b1bcc88 100644 (file)
@@ -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);