[gmx-developers] Hardware threads vs. OpenMP threads
Mark Abraham
mark.j.abraham at gmail.com
Thu Jun 4 12:54:07 CEST 2015
Agreed.
Mark
On Thu, Jun 4, 2015 at 12:53 PM Berk Hess <hess at kth.se> wrote:
> PS There is something strange on that machine. If Gromacs detects 16
> threads, omp_get_num_procs should return 16, not 8.
>
> Berk
>
> On 2015-06-04 12:49, Berk Hess wrote:
> > Hi,
> >
> > I don't think anything changed in the master branch.
> >
> > But we do adhere to the OpenMP environment. The value reported in the
> > message comes from omp_get_num_procs, which should be a report about
> > the hardware available. OMP_NUM_THREADS sets the number of OpenMP
> > threads to use, that is respected.
> >
> > Cheers,
> >
> > Berk
> >
> > On 2015-06-04 11:21, David van der Spoel wrote:
> >> Hi,
> >>
> >> why does GROMACS in the master branch not adhere to the OpenMP
> >> environment?
> >>
> >> Number of hardware threads detected (16) does not match the number
> >> reported by OpenMP (8).
> >> Consider setting the launch configuration manually!
> >> Reading file md.tpr, VERSION 5.1-beta1-dev-20150603-99a1e1f-dirty
> >> (single precision)
> >> Changing nstlist from 10 to 40, rlist from 1.1 to 1.1
> >>
> >> Using 1 MPI process
> >> Using 16 OpenMP threads
> >>
> >> Cheers,
> >
>
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers
> or send a mail to gmx-developers-request at gromacs.org.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20150604/7953ee32/attachment.html>
More information about the gromacs.org_gmx-developers
mailing list