A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
smpi
/
smpi_group.c
diff --git
a/src/smpi/smpi_group.c
b/src/smpi/smpi_group.c
index
89f0f18
..
2e0125e
100644
(file)
--- 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
* 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 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
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)
{
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)
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) {
{
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);
xbt_free(group->rank_to_index_map);
xbt_free(group->index_to_rank_map);
xbt_free(group);