X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/51f94e1d38869bd7a057c58ff4978fdff170a6e6..df9b8b6931c264f2e2877e201e31019e6e7dcad3:/src/smpi/smpi_group.c diff --git a/src/smpi/smpi_group.c b/src/smpi/smpi_group.c index 89f0f186ca..2e0125eddd 100644 --- a/src/smpi/smpi_group.c +++ b/src/smpi/smpi_group.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010. The SimGrid Team. +/* Copyright (c) 2010, 2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -48,7 +48,7 @@ MPI_Group smpi_group_new(int size) MPI_Group smpi_group_copy(MPI_Group origin) { - MPI_Group group; + MPI_Group group=origin; int i, count; if(origin!= smpi_comm_group(MPI_COMM_WORLD) && origin != MPI_GROUP_NULL @@ -75,7 +75,6 @@ MPI_Group smpi_group_copy(MPI_Group origin) void smpi_group_destroy(MPI_Group group) { - XBT_VERB("trying to free group %p, refcount = %d", group, group->refcount); if(group!= smpi_comm_group(MPI_COMM_WORLD) && group != MPI_GROUP_NULL && group != smpi_comm_group(MPI_COMM_SELF) @@ -121,7 +120,6 @@ int smpi_group_unuse(MPI_Group group) { group->refcount--; if (group->refcount <= 0) { - XBT_VERB("freeing group %p", group); xbt_free(group->rank_to_index_map); xbt_free(group->index_to_rank_map); xbt_free(group);