X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a3848e5ea6b2305d6059c89705edaccbec356455..1687df79d61a9418bba830bbd0ab7de16e457090:/src/smpi/colls/allgather-ompi-neighborexchange.c diff --git a/src/smpi/colls/allgather-ompi-neighborexchange.c b/src/smpi/colls/allgather-ompi-neighborexchange.c index 238163ebaf..9a3ccd9ed0 100644 --- a/src/smpi/colls/allgather-ompi-neighborexchange.c +++ b/src/smpi/colls/allgather-ompi-neighborexchange.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. */ + /* * ompi_coll_tuned_allgather_intra_neighborexchange * @@ -57,7 +63,6 @@ */ #include "colls_private.h" - #define MCA_COLL_BASE_TAG_ALLGATHER 555 int smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount, MPI_Datatype sdtype, @@ -134,9 +139,9 @@ smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount, tmpsend = (char*)rbuf + rank * rcount * rext; /* Sendreceive */ smpi_mpi_sendrecv(tmpsend, rcount, rdtype, neighbor[0], - MCA_COLL_BASE_TAG_ALLGATHER, + COLL_TAG_ALLGATHER, tmprecv, rcount, rdtype, neighbor[0], - MCA_COLL_BASE_TAG_ALLGATHER, + COLL_TAG_ALLGATHER, comm, MPI_STATUS_IGNORE); /* Determine initial sending location */ @@ -157,10 +162,10 @@ smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount, /* Sendreceive */ smpi_mpi_sendrecv(tmpsend, 2 * rcount, rdtype, neighbor[i_parity], - MCA_COLL_BASE_TAG_ALLGATHER, + COLL_TAG_ALLGATHER, tmprecv, 2 * rcount, rdtype, neighbor[i_parity], - MCA_COLL_BASE_TAG_ALLGATHER, + COLL_TAG_ALLGATHER, comm, MPI_STATUS_IGNORE); send_data_from = recv_data_from[i_parity];