Complie error for EPW-4
Posted: Tue Apr 05, 2016 5:57 am
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.
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.