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
[trace] Guard expensive computations with TRACE_is_active.
[simgrid.git]
/
src
/
instr
/
instr_smpi.c
diff --git
a/src/instr/instr_smpi.c
b/src/instr/instr_smpi.c
index
130bc26
..
c06d40a
100644
(file)
--- a/
src/instr/instr_smpi.c
+++ b/
src/instr/instr_smpi.c
@@
-111,7
+111,7
@@
void TRACE_smpi_init(int rank)
if (TRACE_smpi_is_grouped()){
father = getContainer (SIMIX_host_self_get_name());
}else{
if (TRACE_smpi_is_grouped()){
father = getContainer (SIMIX_host_self_get_name());
}else{
- father = get
Container ("0"
);
+ father = get
RootContainer (
);
}
xbt_assert(father!=NULL,
"Could not find a parent for mpi rank %s at function %s", str, __FUNCTION__);
}
xbt_assert(father!=NULL,
"Could not find a parent for mpi rank %s at function %s", str, __FUNCTION__);