From 52a6df989098e9f5846bb08e7b94d07be81ea5bd Mon Sep 17 00:00:00 2001 From: Kevin Boyd Date: Sat, 1 Sep 2018 13:25:43 -0400 Subject: [PATCH] Fixed bug reporting initial DLB state The issue was a size/mapping mismatch between the enum representing DLB states and the array with the corresponding state string fixes #2631 Change-Id: I0be35d020d91c30c9770e83e8f57560b75a71b1a --- docs/release-notes/2018/2018.4.rst | 5 +++++ src/gromacs/domdec/domdec.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/2018/2018.4.rst b/docs/release-notes/2018/2018.4.rst index dd0c3345fc..a2eeb1d1d2 100644 --- a/docs/release-notes/2018/2018.4.rst +++ b/docs/release-notes/2018/2018.4.rst @@ -17,3 +17,8 @@ Fixes to improve portability Miscellaneous ^^^^^^^^^^^^^ + +Fixed an issue where the log file could sometimes report an incorrect +initial dynamic load balancing state + +:issue:`2631` diff --git a/src/gromacs/domdec/domdec.cpp b/src/gromacs/domdec/domdec.cpp index 913c2488de..e2ebc5f256 100644 --- a/src/gromacs/domdec/domdec.cpp +++ b/src/gromacs/domdec/domdec.cpp @@ -130,7 +130,7 @@ struct gmx_domdec_master_t #define DD_NLOAD_MAX 9 -const char *edlbs_names[edlbsNR] = { "off", "auto", "locked", "on", "on" }; +static const char *edlbs_names[edlbsNR] = { "off", "off", "off", "locked", "on", "on" }; /* The size per charge group of the cggl_flag buffer in gmx_domdec_comm_t */ #define DD_CGIBS 2 -- 2.11.4.GIT