[Pw_forum] QE 4.0.2: configure error

Paolo Giannozzi giannozz at democritos.it
Tue Oct 21 11:55:22 CEST 2008


Sangamesh B wrote:

> Added -D_GFORTRAN. Still the error persists:
> 
> /lib/cpp -P --traditional -D__EKO -D__FFTW -D__USE_INTERNAL_FFTW
> -D__MPI -D__PARA -I../include  pwscf.f90 -o pwscf.F90

must be added above, not below ...

> mpif90 -march=auto -O2 -D__EKO -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI
> -D__PARA -I../include  -I./  -I../Modules  -I../iotk/src -I../PW
> -I../PH -D__GFORTRAN -c pwscf.F90 -o pwscf.o

...where it is useless, since your compiler doesn't perform
preprocessing. It must be added to DFLAGS in make.sys
-- 
Paolo Giannozzi, Democritos and University of Udine, Italy



More information about the users mailing list