<div dir="ltr"><div>I have been using the same version of the intel compiler + mpif90 until a few days ago (I just upgraded to 2020.2.254) with no problems. <br></div><div>Intel compiler + mpiifort also works, when properly installed. There is a report of the same error, see my comments at the end of <a href="https://gitlab.com/QEF/q-e/-/issues/208">https://gitlab.com/QEF/q-e/-/issues/208</a></div><div><br></div><div> Paolo<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 30, 2020 at 4:39 PM Mohad Abbasnejad <<a href="mailto:mohaddeseh.abbasnejad@gmail.com">mohaddeseh.abbasnejad@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear Mohammad,<div><br></div><div>Thanks alot.</div><div>I could compile it by setting the option to "mpif90".</div><div>However, after using the "make all" command, I received the following message and the program stopped working. Any help would be appreciated.</div><div><br><div><font color="#ff0000">mpif90 -O3 -g -cpp -D__DFTI -D__MPI -D__SCALAPACK -Duse_beef   -I/opt/Source/q-e-qe-6.6//include -I/opt/Source/q-e-qe-6.6//FoX/finclude -I/opt/Source/q-e-qe-6.6//S3DE/iotk/include/ -I/opt/intel/compilers_and_libraries_2020.1.217/linux/mkl/include -I/opt/Source/q-e-qe-6.6//FoX/finclude -c emend_upf.f90<br>emend_upf.f90:29.16:<br><br>  OPEN (NEWUNIT = iun_source, FILE = TRIM(filename), STATUS = 'old', &<br>                1<br>Error: Syntax error in OPEN statement at (1)<br>emend_upf.f90:44.16:<br><br>  OPEN (NEWUNIT = iun_dest, FILE = TRIM(tempname), STATUS = 'unknown', &<br>                1<br>Error: Syntax error in OPEN statement at (1)<br>make[1]: *** [emend_upf.o] Error 1<br>make[1]: Leaving directory `/opt/Source/q-e-qe-6.6/upflib'<br>make: *** [libupf] Error 1<br>(base) [root@localhost q-e-qe-6.6]# </font><br></div></div><div><font color="#ff0000"><br></font></div><div><font color="#000000">Thanks </font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Bests,</font></div><div><font color="#000000">Moha</font>ddeseh</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 30, 2020 at 4:55 PM Mohammad Moaddeli <<a href="mailto:mohammad.moaddeli@gmail.com" target="_blank">mohammad.moaddeli@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear  Dr. Abbasnejad,</div><div><br></div><div>Try this:</div><div><br></div><div>./configure FC=mpiifort --with-scalapack=intel CC=mpiicc MPIF90=mpiifort F90=mpiifort F77=mpiifort</div><div><br></div><div>Best,</div><div><br></div><div>Mohammad</div><div><br></div><div>Shiraz Uni<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 30, 2020 at 2:31 PM Mohad Abbasnejad <<a href="mailto:mohaddeseh.abbasnejad@gmail.com" target="_blank">mohaddeseh.abbasnejad@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear QE users,<br><br>I am trying to install a new version of Quantum ESPRESSO (6.6). However, I receive the following error message.  Any help would be appreciated. <br><br><span style="color:rgb(255,0,0)">(base) [Mohaddeseh@localhost q-e-qe-6.6]$ ./configure <br>checking build system type... x86_64-pc-linux-gnu<br>checking ARCH... x86_64<br>checking setting AR... ... ar<br>checking setting ARFLAGS... ... ruv<br>checking for gfortran... gfortran<br>checking whether the Fortran compiler works... yes<br>checking for Fortran compiler default output file name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU Fortran compiler... yes<br>checking whether gfortran accepts -g... yes<br>checking for mpiifort... mpiifort<br>checking whether we are using the GNU Fortran compiler... no<br>checking whether mpiifort accepts -g... no<br>checking version of mpiifort... unknown, assuming gfortran<br>checking for Fortran flag to compile .f90 files... unknown<br>configure: error: Fortran could not compile .f90 files<br><br><span style="color:rgb(0,0,0)">The version of mpiifort is as following:</span><br><br>(base) [Mohaddeseh@localhost q-e-qe-6.6]$ which mpiifort<br>/opt/intel/compilers_and_libraries_2020.1.217/linux/mpi/intel64/bin/mpiifort<br><br></span></div><div><span style="color:rgb(255,0,0)"><font color="#000000">Thanks in advance.<br><br></font></span></div><div><span style="color:rgb(255,0,0)"><font color="#000000">Regards,<br></font></span></div><div><span style="color:rgb(255,0,0)"><font color="#000000">Mohaddeseh<br></font></span></div><div dir="ltr"><br><br clear="all"><br>-- <br><div dir="ltr">---------------------------------------------------------<br>Mohaddeseh Abbasnejad, <br>Assistant Professor of Physics,<br>Faculty of Physics, <br>Shahid Bahonar University of Kerman,<br>Kerman, Iran<br>P.O. Box 76169-133<br>Tel: +98 34 31322199<br>Fax: +98 34 33257434<br>Cellphone: +98 917 731 7514<br>E-Mail:     <a href="mailto:mohaddeseh.abbasnejad@gmail.com" target="_blank">mohaddeseh.abbasnejad@gmail.com</a><br>Website:  <a href="http://academicstaff.uk.ac.ir/moabbasnejad" target="_blank">academicstaff.uk.ac.ir/moabbasnejad</a> <br>---------------------------------------------------------<br><br></div></div></div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">---------------------------------------------------------<br>Mohaddeseh Abbasnejad, <br>Assistant Professor of Physics,<br>Faculty of Physics, <br>Shahid Bahonar University of Kerman,<br>Kerman, Iran<br>P.O. Box 76169-133<br>Tel: +98 34 31322199<br>Fax: +98 34 33257434<br>Cellphone: +98 917 731 7514<br>E-Mail:     <a href="mailto:mohaddeseh.abbasnejad@gmail.com" target="_blank">mohaddeseh.abbasnejad@gmail.com</a><br>Website:  <a href="http://academicstaff.uk.ac.ir/moabbasnejad" target="_blank">academicstaff.uk.ac.ir/moabbasnejad</a> <br>---------------------------------------------------------<br><br></div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" 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>