Hello,
Following my earlier 2 posts, I realized that I should compile espresso before issuing "make" in the EPW folder. However, I get several errors with espresso-5.2.0 and 5.3.0 as follows:
(cd src ; make )
make[1]: Entering directory /global/home/vahid/bin/PWSCF+EPW/espresso-5.2.0/EPW/src' mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src -I. -c io_epw.f90 mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src -I. -c elph2.f90 mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src -I. -c epwcom.f90 mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src -I. -c epw.f90 mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src -I. -c constants_epw.f90 mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src -I. -c a2f.f90 mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK -I../../include -I../../iotk/src -I../../Modules -I../../LAXlib -I../../iotk/src -I../../FFTXlib -I../../PW/src -I../../LR_Modules -I../../PHonon/PH -I../../PP/src -I. -c allocate_epwq.f90 allocate_epwq.f90(29): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [CONTROL_LR] USE control_lr, ONLY : lgamma ------^ allocate_epwq.f90(36): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [LR_SYMM_BASE] USE lr_symm_base, ONLY : rtau ------^ allocate_epwq.f90(38): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [LRUS] USE lrus, ONLY : becp1, int3, int3_nc, dpqq, dpqq_so ------^ allocate_epwq.f90(59): error #6404: This name does not have a type, and must have an explicit type. [LGAMMA] IF (lgamma) THEN ------^ allocate_epwq.f90(59): error #6341: A logical data type is required in this context. [LGAMMA] IF (lgamma) THEN ------^ allocate_epwq.f90(83): error #6404: This name does not have a type, and must have an explicit type. [RTAU] ALLOCATE (rtau ( 3, 48, nat)) ------------^ allocate_epwq.f90(95): error #6404: This name does not have a type, and must have an explicit type. [INT3] ALLOCATE (int3 ( nhm, nhm, npertx, nat, nspin)) ---------------^ allocate_epwq.f90(98): error #6404: This name does not have a type, and must have an explicit type. [DPQQ] ALLOCATE (dpqq( nhm, nhm, 3, ntyp)) ---------------^ allocate_epwq.f90(101): error #6404: This name does not have a type, and must have an explicit type. [INT3_NC] ALLOCATE(int3_nc( nhm, nhm, npertx, nat, nspin)) -----------------^ allocate_epwq.f90(108): error #6404: This name does not have a type, and must have an explicit type. [DPQQ_SO] ALLOCATE(dpqq_so( nhm, nhm, nspin, 3, ntyp)) --------------------^ allocate_epwq.f90(118): error #6404: This name does not have a type, and must have an explicit type. [BECP1] ALLOCATE (becp1(nks)) ------------^ allocate_epwq.f90(29): error #6580: Name in only-list does not exist. [LGAMMA] USE control_lr, ONLY : lgamma ---------------------------^ allocate_epwq.f90(36): error #6580: Name in only-list does not exist. [RTAU] USE lr_symm_base, ONLY : rtau ---------------------------^ allocate_epwq.f90(38): error #6580: Name in only-list does not exist. [BECP1] USE lrus, ONLY : becp1, int3, int3_nc, dpqq, dpqq_so ---------------------------^ allocate_epwq.f90(38): error #6580: Name in only-list does not exist. [INT3] USE lrus, ONLY : becp1, int3, int3_nc, dpqq, dpqq_so ----------------------------------^ allocate_epwq.f90(38): error #6580: Name in only-list does not exist. [INT3_NC] USE lrus, ONLY : becp1, int3, int3_nc, dpqq, dpqq_so ----------------------------------------^ allocate_epwq.f90(38): error #6580: Name in only-list does not exist. [DPQQ] USE lrus, ONLY : becp1, int3, int3_nc, dpqq, dpqq_so -------------------------------------------------^ allocate_epwq.f90(38): error #6580: Name in only-list does not exist. [DPQQ_SO] USE lrus, ONLY : becp1, int3, int3_nc, dpqq, dpqq_so -------------------------------------------------------^ compilation aborted for allocate_epwq.f90 (code 1) make[1]: *** [allocate_epwq.o] Error 1 make[1]: Leaving directory /global/home/vahid/bin/PWSCF+EPW/espresso-5.2.0/EPW/src’
make: *** [epw] Error 2
My understanding is that these missing modules should be part of espresso but they are not. Or am I missing something here?
Any help will be greatly appreciated.
Vahid