[Q-e-developers] Compilation of QE with PGI 15
Filippo SPIGA
filippo.spiga at quantum-espresso.org
Tue May 17 11:02:59 CEST 2016
Hello Martin,
ok I understand now. So what GCC are you using? I saw this behaviour already while playing with a ARM64 platform some time ago so my guess is you are using GCC 5.2.0 or even newer. Am I right?
On May 17, 2016, at 4:35 PM, Martin Schlipf <martin.schlipf at gmail.com> wrote:
>
> Hello Filippo,
>
> perhaps we should be a bit more precise. The issue is not directly the PGI compiler, it is with the gcc C preprocessor. Only because the PGI compiler cannot do the preprocessing itself, the additional cpp step is added. However, when called with the "-C" the gcc C preprocessor adds a comment in C format, which then cannot be compiled by the PGI compiler.
>
> The attached two files should clarify the issue. The file foo_tmp.f90 is the output of preprocessing
> the file foo.f90 with the gcc preprocessor and the options "-C -P". Note that the option "-C" should retain the
> comments, but (at least with gcc) the comments are retained even without the "-C" option.
>
> Cheers,
> Martin & Samuel
--
Mr. Filippo SPIGA, M.Sc.
Quantum ESPRESSO Foundation
http://www.quantum-espresso.org ~ skype: filippo.spiga
*****
Disclaimer: "Please note this message and any attachments are CONFIDENTIAL and may be privileged or otherwise protected from disclosure. The contents are not to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission."
More information about the developers
mailing list