[Pw_forum] __OPENMP flag in QE
Ye Luo
xw111luoye at gmail.com
Fri Mar 17 22:36:34 CET 2017
_OPENMP is defined in OpenMP standards which says every compiler supporting
pre-processing should have it.
No clue which compiler doesn't support pre-processing nowadays.
At least Intel, IBM XL, GNU all have _OPENMP.
I first noticed the missing __OPENMP issue shows up on 5.3 and 5.4,6.x all
have the same issue.
I reported it last year.
http://qe-forge.org/pipermail/q-e-developers/2016-September/001355.html
Probably during the phase the BGQ is deployed in CINECA, that is maintained
but not recently.
Best,
Ye
===================
Ye Luo, Ph.D.
Leadership Computing Facility
Argonne National Laboratory
2017-03-17 15:52 GMT-05:00 Paolo Giannozzi <p.giannozzi at gmail.com>:
> Hi Ye
>
> the only reason to have __OPENMP with two underscores is that all
> preprocessing options in QE start with two underscores. If all
> OpenMP-aware compilers honor _OPENMP, I agree that it may be a good
> idea to drop one underscore and related "configure" stuff.
>
> The OpenMP-enabled code has been running for years on the BG in
> CINECA. I never noticed what you report.
>
> Paolo
>
> On Fri, Mar 17, 2017 at 8:45 PM, Ye Luo <xw111luoye at gmail.com> wrote:
> > Ciao, Paolo,
> > Is there a particular reason to keep __OPENMP instead of _OPENMP (single
> > underscore) which is automatically added by the compiler when OpenMP is
> > requrested?
> > I'm asking this question because the __OPENMP flag is missing on BGQ on
> QE
> > 5.X to 6.X when --enable-openmp is added. Using the standard flag may
> help
> > reducing the maintenance pain of configure.
> >
> > Ye
> > ===================
> > Ye Luo, Ph.D.
> > Leadership Computing Facility
> > Argonne National Laboratory
> >
> > _______________________________________________
> > Pw_forum mailing list
> > Pw_forum at pwscf.org
> > http://pwscf.org/mailman/listinfo/pw_forum
>
>
>
> --
> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
> Phone +39-0432-558216, fax +39-0432-558222
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20170317/c88df824/attachment.html>
More information about the users
mailing list