From fd3e0ac1bc70e6ec6a23187c33f88ad615921ba7 Mon Sep 17 00:00:00 2001 From: Szilard Pall Date: Sun, 21 Jun 2015 01:04:28 +0200 Subject: [PATCH] fix CPU core oversubscription detection The detection became non-functional due to unlucky incorrect order in which the arguments were passed. Change-Id: Id29ff87e504585f783be742b92a861c06c5e42ac --- src/gromacs/gmxlib/gmx_omp_nthreads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/gmxlib/gmx_omp_nthreads.c b/src/gromacs/gmxlib/gmx_omp_nthreads.c index 9b97291fc4..263d2af557 100644 --- a/src/gromacs/gmxlib/gmx_omp_nthreads.c +++ b/src/gromacs/gmxlib/gmx_omp_nthreads.c @@ -511,7 +511,7 @@ void gmx_omp_nthreads_init(FILE *fplog, t_commrec *cr, #endif reportOpenmpSettings(fplog, cr, bOMP, bFullOmpSupport, bSepPME); - issueOversubscriptionWarning(fplog, cr, bSepPME, nthreads_hw_avail, nppn); + issueOversubscriptionWarning(fplog, cr, nthreads_hw_avail, nppn, bSepPME); } int gmx_omp_nthreads_get(int mod) -- 2.22.0