From: Szilard Pall Date: Sat, 20 Jun 2015 23:04:28 +0000 (+0200) Subject: fix CPU core oversubscription detection X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=fd3e0ac1bc70e6ec6a23187c33f88ad615921ba7;p=alexxy%2Fgromacs.git fix CPU core oversubscription detection The detection became non-functional due to unlucky incorrect order in which the arguments were passed. Change-Id: Id29ff87e504585f783be742b92a861c06c5e42ac --- 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)