Fix DLB initial state reporting
authorSzilárd Páll <pall.szilard@gmail.com>
Thu, 5 Mar 2020 15:29:46 +0000 (16:29 +0100)
committerArtem Zhmurov <zhmurov@gmail.com>
Thu, 19 Mar 2020 15:27:38 +0000 (16:27 +0100)
Missing entry in the array of state strings means that the initial "on"
and "auto" states were incorrectly reported.

Change-Id: Ibad25272d168894a6590b0050102ec02ba8171ed

docs/release-notes/2020/2020.2.rst
src/gromacs/domdec/domdec.cpp

index fa7087d81a1de557c51eecddcfba9c1bfe9fcc4e..9a8573f450ea867bad2a3533461e818f702a4a5f 100644 (file)
@@ -35,3 +35,8 @@ Fixes that affect portability
 Miscellaneous
 ^^^^^^^^^^^^^
 
+Fixed initial DLB state reporting
+"""""""""""""""""""""""""""""""""
+
+The initial DLB state was reported incorrectly in the log file when
+the either "on" or "auto" value was the chosen at mdrun startup.
index 78a1501a39a489a543243c97ca83df03565c40ea..542275d91681b6b421ecdbce51c13e29d8dd55ab 100644 (file)
@@ -119,7 +119,7 @@ using gmx::DdRankOrder;
 using gmx::DlbOption;
 using gmx::DomdecOptions;
 
-static const char* edlbs_names[int(DlbState::nr)] = { "off", "auto", "locked", "on", "on" };
+static const char* edlbs_names[int(DlbState::nr)] = { "off", "off", "auto", "locked", "on", "on" };
 
 /* The size per atom group of the cggl_flag buffer in gmx_domdec_comm_t */
 #define DD_CGIBS 2