<div dir="ltr"><div>Axel added -C (rev.10596)<br><br></div>Paolo<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 16, 2016 at 7:56 PM, Filippo SPIGA <span dir="ltr"><<a href="mailto:filippo.spiga@quantum-espresso.org" target="_blank">filippo.spiga@quantum-espresso.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello Samuel,<div><br></div><div>which PGI 15 exactly? I have 7 minor versions of PGI 15 installed in the HPC cluster here in Cambridge. I've just run latest SVN (12411) using PGI 16.4 and it works without any change in the make.sys. Let me know the exact PGI version, I want to try replicate the issue.</div><div><br></div><div><font face="Andale Mono">$ pgfortran --version<br><br>pgfortran 16.4-0 64-bit target on x86-64 Linux -tp sandybridge<br>The Portland Group - PGI Compilers and Tools<br>Copyright (c) 2016, NVIDIA CORPORATION.  All rights reserved.</font></div><div><font face="Andale Mono"><br>$ ldd bin/pw.x<br>        linux-vdso.so.1 =>  (0x00007fff5e4c5000)<br>        libmkl_intel_lp64.so => /usr/local/Cluster-Apps/intel/mkl/<a href="http://11.3.3.210/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_intel_lp64.so" target="_blank">11.3.3.210/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_intel_lp64.so</a> (0x00007f0be29df000)<br>        libmkl_core.so => /usr/local/Cluster-Apps/intel/mkl/<a href="http://11.3.3.210/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_core.so" target="_blank">11.3.3.210/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_core.so</a> (0x00007f0be0fce000)<br>        libmkl_pgi_thread.so => /usr/local/Cluster-Apps/intel/mkl/<a href="http://11.3.3.210/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_pgi_thread.so" target="_blank">11.3.3.210/compilers_and_libraries_2016.3.210/linux/mkl/lib/intel64/libmkl_pgi_thread.so</a> (0x00007f0bdfc10000)<br>        libmpi_usempif08.so.0 => /usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib/libmpi_usempif08.so.0 (0x00007f0bdf9b1000)<br>        libmpi_usempi_ignore_tkr.so.0 => /usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib/libmpi_usempi_ignore_tkr.so.0 (0x00007f0bdf7aa000)<br>        libmpi_mpifh.so.2 => /usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib/libmpi_mpifh.so.2 (0x00007f0bdf549000)<br>        libmpi.so.1 => /usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib/libmpi.so.1 (0x00007f0bdf212000)<br>        libpgf90rtl.so => /usr/local/Cluster-Apps/pgi/linux86-64/16.4/lib/libpgf90rtl.so (0x00007f0bdefec000)<br>        libpgf90.so => /usr/local/Cluster-Apps/pgi/linux86-64/16.4/lib/libpgf90.so (0x00007f0bdea3d000)<br>        libpgf90_rpm1.so => /usr/local/Cluster-Apps/pgi/linux86-64/16.4/lib/libpgf90_rpm1.so (0x00007f0bde83a000)<br>        libpgf902.so => /usr/local/Cluster-Apps/pgi/linux86-64/16.4/lib/libpgf902.so (0x00007f0bde627000)<br>        libpgftnrtl.so => /usr/local/Cluster-Apps/pgi/linux86-64/16.4/lib/libpgftnrtl.so (0x00007f0bde3f2000)<br>        libpgmp.so => /usr/local/Cluster-Apps/pgi/linux86-64/16.4/lib/libpgmp.so (0x00007f0bde171000)<br>        libnuma.so.1 => /usr/lib64/libnuma.so.1 (0x00007f0bddf36000)<br>        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0bddd19000)<br>        libpgc.so => /usr/local/Cluster-Apps/pgi/linux86-64/16.4/lib/libpgc.so (0x00007f0bdda90000)<br>        librt.so.1 => /lib64/librt.so.1 (0x00007f0bdd888000)<br>        libm.so.6 => /lib64/libm.so.6 (0x00007f0bdd604000)<br>        libc.so.6 => /lib64/libc.so.6 (0x00007f0bdd26f000)<br>        libdl.so.2 => /lib64/libdl.so.2 (0x00007f0bdd06b000)<br>        libopen-rte.so.7 => /usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib/libopen-rte.so.7 (0x00007f0bdcddb000)<br>        libopen-pal.so.6 => /usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib/libopen-pal.so.6 (0x00007f0bdcaeb000)<br>        libpciaccess.so.0 => /usr/lib64/libpciaccess.so.0 (0x00007f0bdc8e2000)<br>        libutil.so.1 => /lib64/libutil.so.1 (0x00007f0bdc6de000)<br>        /lib64/ld-linux-x86-64.so.2 (0x00007f0be34f1000)</font></div><div><font face="Andale Mono"><br>$ mpif90 -show<br>pgfortran -I/usr/local/Cluster-Apps/openmpi/pgi/1.8.8/include -I/usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib -Wl,-rpath -Wl,/usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib -Wl,--enable-new-dtags -L/usr/local/Cluster-Apps/openmpi/pgi/1.8.8/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi</font></div><div><font face="Andale Mono"><br></font></div><div><font face="Andale Mono">$ cat make.sys | grep "</font><span style="font-family:'Andale Mono'">CPPFLAGS       =</span><span style="font-family:'Andale Mono'">"</span></div><span class=""><div><font face="Andale Mono">CPPFLAGS       = -P -C -traditional $(DFLAGS) $(IFLAGS)</font></div><div><br></div></span><span class=""><div>On May 17, 2016, at 1:40 AM, Samuel Poncé <<a href="mailto:samuel.pon@gmail.com" target="_blank">samuel.pon@gmail.com</a>> wrote:<br><blockquote type="cite">Dear QE-developers, <br><br>The current trunk of QE does not compile with PGI 15:<br><div>cpp -P -C -traditional -D__PGI -D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK -I../include fft_types.f90 -o fft_types_tmp.f90 ; \</div><div>        mpif90 -fast -r8 -Mcache_align -D__PGI -D__FFTW3 -D__MPI -D__PARA -D__SCALAPACK -I/home/farm2/local/fftw3_pgi1507/include/ -I../include  -c fft_types_tmp.f90 -o fft_types.o</div><br><div>PGF90-S-0034-Syntax error at or near / (fft_types_tmp.f90: 1)</div><div>PGF90-S-0034-Syntax error at or near identifier file (fft_types_tmp.f90: 2)</div><div>PGF90-S-0034-Syntax error at or near identifier gnu (fft_types_tmp.f90: 4)</div><div>PGF90-S-0034-Syntax error at or near identifier it (fft_types_tmp.f90: 5)</div><br>To make it compile, the following line should be changed in the make.sys (therefore in the Makefile):<br><br>The line <br>CPPFLAGS       = -P -C -traditional $(DFLAGS) $(IFLAGS)<br><br>should be replace by<br>CPPFLAGS       = -P -traditional $(DFLAGS) $(IFLAGS) $(MANUAL_DFLAGS)<br><br>The reason is because the -C option place C comments at the beginning of the pre-processed file and pgi cannot interpret it correctly.<br>The manual_dflag is important in my case because the fftw lib is not correctly recognize and I have to add the fftw3 /include file. <br><br>With the modification, QE compiles perfectly with pgi 15. <br><br>Best, <br><br>Samuel & Martin</blockquote></div></span><div><br>--<br>Mr. Filippo SPIGA, M.Sc.<br>Quantum ESPRESSO Foundation<br><a href="http://www.quantum-espresso.org" target="_blank">http://www.quantum-espresso.org</a> ~ skype: filippo.spiga<br><br>*****<br>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."</div></div><br>_______________________________________________<br>
Q-e-developers mailing list<br>
<a href="mailto:Q-e-developers@qe-forge.org">Q-e-developers@qe-forge.org</a><br>
<a href="http://qe-forge.org/mailman/listinfo/q-e-developers" rel="noreferrer" target="_blank">http://qe-forge.org/mailman/listinfo/q-e-developers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
</div>