Dear all,
Hello.
I have questions about compilation for EPW-4.
As README file guides me, I installed latest version of QE (QE 5.3.0) and copied folder from sponce's branch.
But, I got error messages as below.
mpif90 -O2 -assume byterecl -g -traceback -par-report0 -vec-report0 -nomodule -fpp -D__INTEL -D__FFTW3 -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
elph2.f90(12): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [KINDS]
USE kinds, ONLY : DP
------^
elph2.f90(16): error #6683: A kind type parameter must be a compile-time constant. [DP]
COMPLEX(KIND=DP), ALLOCATABLE :: &
---------------^
elph2.f90(37): error #6683: A kind type parameter must be a compile-time constant. [DP]
REAL(KIND=DP), ALLOCATABLE ::&
------------^
elph2.f90(69): error #6683: A kind type parameter must be a compile-time constant. [DP]
REAL(KIND=DP) :: &!
------------^
elph2.f90(12): error #6580: Name in only-list does not exist. [DP]
USE kinds, ONLY : DP
---------------------^
compilation aborted for elph2.f90 (code 1)
make[1]: *** [elph2.o] Error 1
make[1]: Leaving directory `/home/users/hanwooh/espresso/EPW/src'
make: *** [epw] Error 2
I didn't modify the original code.
Could anyone help me with this?
Thank you.
Complie error for EPW-4
Moderator: stiwari
Re: Complie error for EPW-4
Glad to hear it !
Best,
Samuel
Best,
Samuel
Prof. Samuel Poncé
Chercheur qualifié F.R.S.-FNRS / Professeur UCLouvain
Institute of Condensed Matter and Nanosciences
UCLouvain, Belgium
Web: https://www.samuelponce.com
Chercheur qualifié F.R.S.-FNRS / Professeur UCLouvain
Institute of Condensed Matter and Nanosciences
UCLouvain, Belgium
Web: https://www.samuelponce.com
Re: Complie error for EPW-4
Hello,
I downloaded espresso-5.3.0 and EPW-4. I followed the instructions for compiling but got the same error as hanwooh. Does anyone know how to avoid this error?
Thank you,
Vahid
Vahid Askarpour
Department of Physics and Atmospheric Science
Dalhousie University
Halifax, NS Canada
I downloaded espresso-5.3.0 and EPW-4. I followed the instructions for compiling but got the same error as hanwooh. Does anyone know how to avoid this error?
Thank you,
Vahid
Vahid Askarpour
Department of Physics and Atmospheric Science
Dalhousie University
Halifax, NS Canada
Re: Complie error for EPW-4
To add to me earlier post, I tried espresso-4.0.3 with EPW-3.0.0 and the compilation works fine. I really like to install EPW-4 and noted that in the EPW-4 examples, the espresso used with EPW-4 is espresso-5.2.0. I tried espresso-5.2.0 with EPW-4 but I still get the same error as before i.e.,
(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
elph2.f90(12): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [KINDS]
USE kinds, ONLY : DP
------^
elph2.f90(16): error #6683: A kind type parameter must be a compile-time constant. [DP]
COMPLEX(KIND=DP), ALLOCATABLE :: &
---------------^
elph2.f90(37): error #6683: A kind type parameter must be a compile-time constant. [DP]
REAL(KIND=DP), ALLOCATABLE ::&
------------^
elph2.f90(69): error #6683: A kind type parameter must be a compile-time constant. [DP]
REAL(KIND=DP) :: &!
------------^
elph2.f90(12): error #6580: Name in only-list does not exist. [DP]
USE kinds, ONLY : DP
---------------------^
compilation aborted for elph2.f90 (code 1)
make[1]: *** [elph2.o] Error 1
make[1]: Leaving directory `/global/home/vahid/bin/PWSCF+EPW/espresso-5.2.0/EPW/src'
make: *** [epw] Error 2
Any suggestion would be really appreciated.
Vahid
(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
elph2.f90(12): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [KINDS]
USE kinds, ONLY : DP
------^
elph2.f90(16): error #6683: A kind type parameter must be a compile-time constant. [DP]
COMPLEX(KIND=DP), ALLOCATABLE :: &
---------------^
elph2.f90(37): error #6683: A kind type parameter must be a compile-time constant. [DP]
REAL(KIND=DP), ALLOCATABLE ::&
------------^
elph2.f90(69): error #6683: A kind type parameter must be a compile-time constant. [DP]
REAL(KIND=DP) :: &!
------------^
elph2.f90(12): error #6580: Name in only-list does not exist. [DP]
USE kinds, ONLY : DP
---------------------^
compilation aborted for elph2.f90 (code 1)
make[1]: *** [elph2.o] Error 1
make[1]: Leaving directory `/global/home/vahid/bin/PWSCF+EPW/espresso-5.2.0/EPW/src'
make: *** [epw] Error 2
Any suggestion would be really appreciated.
Vahid