Complie error for EPW-4

This section is dedicated to compilation problems

Moderator: stiwari

Post Reply
hanwooh
Posts: 16
Joined: Sat Apr 02, 2016 5:55 pm
Affiliation:

Complie error for EPW-4

Post by hanwooh »

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.

hanwooh
Posts: 16
Joined: Sat Apr 02, 2016 5:55 pm
Affiliation:

Re: Complie error for EPW-4

Post by hanwooh »

Sorry, it was my mistakes.

I fixed this problem.

Thank you.

sponce
Site Admin
Posts: 616
Joined: Wed Jan 13, 2016 7:25 pm
Affiliation: EPFL

Re: Complie error for EPW-4

Post by sponce »

Glad to hear it !

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

Vahid
Posts: 101
Joined: Fri Apr 08, 2016 11:02 pm
Affiliation:

Re: Complie error for EPW-4

Post by Vahid »

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

Vahid
Posts: 101
Joined: Fri Apr 08, 2016 11:02 pm
Affiliation:

Re: Complie error for EPW-4

Post by Vahid »

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

Post Reply