Add checks for inefficient resource usage
[alexxy/gromacs.git] / src / programs / mdrun / runner.cpp
index c5784a2449a0a9c9b01eb7ee3925e4613112a4e6..8a294358090c47285208b15a10224b5c39e55f24 100644 (file)
@@ -1077,6 +1077,10 @@ int mdrunner(gmx_hw_opt_t *hw_opt,
      * support and number of GPUs selected */
     gmx_check_hw_runconf_consistency(fplog, hwinfo, cr, hw_opt, bUseGPU);
 
+    /* Now that we know the setup is consistent, check for efficiency */
+    check_resource_division_efficiency(hwinfo, hw_opt, Flags & MD_NTOMPSET,
+                                       cr, fplog);
+
     if (DOMAINDECOMP(cr))
     {
         /* When we share GPUs over ranks, we need to know this for the DLB */