After the message got refactored in
147de64 the dd_warn() call was left
out and therefore a DD warning message would get assembled but never
printed.
NOTE: skip when merging into master, the fix has been added together
with modernization (Change-Id I860f52cf)
Change-Id: Ieaeae3bae69e029b671bf18a3cce6b1d2aebcea9
if (cellsize_min < comm->cellsize_limit*1.05)
{
char buf[STRLEN];
- sprintf(buf, "step %" GMX_PRId64 " Measured %.1f %% performance load due to load imbalance, but the minimum cell size is smaller than 1.05 times the cell size limit. Will no longer try dynamic load balancing.\n", step, dd_force_imb_perf_loss(dd)*100);
+ sprintf(buf, "step %" GMX_PRId64 " Measured %.1f %% performance loss due to load imbalance, but the minimum cell size is smaller than 1.05 times the cell size limit. Will no longer try dynamic load balancing.\n", step, dd_force_imb_perf_loss(dd)*100);
+ dd_warning(cr, fplog, buf);
/* Change DLB from "auto" to "no". */
comm->dlbState = edlbsOffForever;