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
Clean up PME rank variables
[alexxy/gromacs.git]
/
src
/
gromacs
/
taskassignment
/
resourcedivision.cpp
diff --git
a/src/gromacs/taskassignment/resourcedivision.cpp
b/src/gromacs/taskassignment/resourcedivision.cpp
index 90a40414c783387b29de85a576ecd0cae4906175..452a771616b084ef838a86b486ed57b9ce664dba 100644
(file)
--- a/
src/gromacs/taskassignment/resourcedivision.cpp
+++ b/
src/gromacs/taskassignment/resourcedivision.cpp
@@
-563,7
+563,7
@@
void check_resource_division_efficiency(const gmx_hw_info_t *hwinfo,
bool anyRankIsUsingGpus = willUsePhysicalGpu;
/* Thread-MPI seems to have a bug with reduce on 1 node, so use a cond. */
- if (cr->nnodes
+ cr->npmenodes
> 1)
+ if (cr->nnodes > 1)
{
int count[3], count_max[3];