Dear Chandan Fox is probably compiling using a different compiler.
Check the make.inc file and see if F90 is set to the same compiler used by mpif90 The command mpif90 --show will tell you which compiler is used by mpif90 set F90 to the same compiler do make clean and then make pw again. Removing mod files in never effective because tha make command does not check them It check .o files only. Do make clean. Pietro Sent from Mail for Windows 10 From: Chandan Kumar Choudhury Sent: Thursday, March 11, 2021 3:45 PM To: Quantum ESPRESSO users Forum Subject: Re: [QE-users] Installing QE 670 on AMD EPYC Thank you Paolo! I did the following steps: make pw rm FoX/finclude/m_common_io.mod make clean make pw make clean removes the FoX directory and it recreates when we do 'make pw’ So, I still the same error mpif90 -O3 -g -fopenmp -cpp -fopenmp -D__FFTW3 -D__MPI -D__SCALAPACK -I/home/chandan_prescience_in/apps/blis/include -I/home/chandan_prescience_in/apps/libFLAME/include -I/home/chandan_prescience_in/apps/amd-fftw/double/include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0/FoX/finclude -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0/include -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//upflib -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//Modules -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FFTXlib -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//LAXlib -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//UtilXlib -I/home/chandan_prescience_in/softwares/q-e-qe-6.7.0//FoX/finclude -I../ELPA/src -c fox_init_module.f90 F90-F-0004-Corrupt or Old Module file /home/chandan_prescience_in/softwares/q-e-qe-6.7.0/FoX/finclude/m_common_io.mod (fox_init_module.f90: 4) F90/x86-64 Linux Flang - 1.5 2017-05-01: compilation aborted make[1]: *** [../make.inc:16: fox_init_module.o] Error 1 make[1]: Leaving directory '/home/chandan_prescience_in/softwares/q-e-qe-6.7.0/Modules' make: *** [Makefile:179: mods] Error 1 -- Chandan Kumar Choudhury, PhD Senior Scientist (Computational Science) Prescience.in On Mar 11, 2021, at 7:40 PM, Paolo Giannozzi <p.gianno...@gmail.com> wrote: rm FoX/include/delete m_commom_io.mod Not enough? "make clean", then "make [what-you-need]"
_______________________________________________ Quantum ESPRESSO is supported by MaX (www.max-centre.eu) users mailing list users@lists.quantum-espresso.org https://lists.quantum-espresso.org/mailman/listinfo/users