[Pw_forum] find thread and core number

mohammed shambakey shambakey1 at gmail.com
Fri Dec 11 09:29:07 CET 2015


Thank you

On Fri, Dec 11, 2015 at 12:40 AM, Axel Kohlmeyer <akohlmey at gmail.com> wrote:

> On Thu, Dec 10, 2015 at 5:25 PM, mohammed shambakey
> <shambakey1 at gmail.com> wrote:
> > Hi
> >
> > when running pw.x on a multi-node cluster using OpenMP+MPI, is it
> possible
> > to record each thread id, running on which core, in which node?
>
> not without using special settings and special libraries. both MPI
> ranks and OpenMP thread-ids are by default 100% hardware agnostic and
> are assigned to individual cores based on the kernel scheduling
> algorithms, thus those can change quite rapidly.
> many MPI and OpenMP implementations allow to use OS-specific APIs to
> assign "affinity" of an MPI rank or a thread to specific cores (or
> rather provide an assignment pattern).
>
> axel.
>
> >
> > Regards
> >
> > --
> > Mohammed
> >
> > _______________________________________________
> > Pw_forum mailing list
> > Pw_forum at pwscf.org
> > http://pwscf.org/mailman/listinfo/pw_forum
>
>
>
> --
> Dr. Axel Kohlmeyer  akohlmey at gmail.com  http://goo.gl/1wk0
> College of Science & Technology, Temple University, Philadelphia PA, USA
> International Centre for Theoretical Physics, Trieste. Italy.
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>



-- 
Mohammed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20151211/c73101b6/attachment.html>


More information about the users mailing list