biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug accumulating nrank_pp_intranode on PME ranks
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
network.c
diff --git
a/src/gromacs/gmxlib/network.c
b/src/gromacs/gmxlib/network.c
index 06780b90c72b71dcae40a6bb2663ff17bdbe7a06..afd3ba652902f0f1bf6cc2f483b391ff9fa56a9c 100644
(file)
--- a/
src/gromacs/gmxlib/network.c
+++ b/
src/gromacs/gmxlib/network.c
@@
-426,10
+426,10
@@
void gmx_init_intranode_counters(t_commrec *cr)
rank_intranode++;
}
}
- if (
(cr->duty & DUTY_PP) &&
num_pp[i] == mynum)
+ if (num_pp[i] == mynum)
{
nrank_pp_intranode++;
- if (i < rank_world)
+ if (
(cr->duty & DUTY_PP) &&
i < rank_world)
{
rank_pp_intranode++;
}