X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/15badc71ce964f6dae6428c9a4c0198fad5d4936..954676b700e711f38ec4d286d33d5427d3f4ca46:/src/smpi/colls/allgatherv-ompi-neighborexchange.c diff --git a/src/smpi/colls/allgatherv-ompi-neighborexchange.c b/src/smpi/colls/allgatherv-ompi-neighborexchange.c index f80e681f64..f6fc137df4 100644 --- a/src/smpi/colls/allgatherv-ompi-neighborexchange.c +++ b/src/smpi/colls/allgatherv-ompi-neighborexchange.c @@ -1,3 +1,8 @@ +/* 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_allgatherv_intra_neighborexchange @@ -59,7 +64,6 @@ */ #include "colls_private.h" - #define MCA_COLL_BASE_TAG_ALLGATHERV 444 int smpi_coll_tuned_allgatherv_ompi_neighborexchange(void *sbuf, int scount, @@ -142,9 +146,9 @@ smpi_coll_tuned_allgatherv_ompi_neighborexchange(void *sbuf, int scount, tmprecv = (char*)rbuf + rdispls[neighbor[0]] * rext; tmpsend = (char*)rbuf + rdispls[rank] * rext; smpi_mpi_sendrecv(tmpsend, rcounts[rank], rdtype, - neighbor[0], MCA_COLL_BASE_TAG_ALLGATHERV, + neighbor[0], COLL_TAG_ALLGATHERV, tmprecv, rcounts[neighbor[0]], rdtype, - neighbor[0], MCA_COLL_BASE_TAG_ALLGATHERV, + neighbor[0], COLL_TAG_ALLGATHERV, comm, MPI_STATUS_IGNORE); @@ -194,9 +198,9 @@ smpi_coll_tuned_allgatherv_ompi_neighborexchange(void *sbuf, int scount, /* Sendreceive */ smpi_mpi_sendrecv(tmpsend, 1, new_sdtype, neighbor[i_parity], - MCA_COLL_BASE_TAG_ALLGATHERV, + COLL_TAG_ALLGATHERV, tmprecv, 1, new_rdtype, neighbor[i_parity], - MCA_COLL_BASE_TAG_ALLGATHERV, + COLL_TAG_ALLGATHERV, comm, MPI_STATUS_IGNORE); send_data_from = recv_data_from[i_parity];