[Pw_forum] Redhat linux PCs ESPRESSO compilation
Davide Ceresoli
ceresoli at sissa.it
Fri May 11 17:43:02 CEST 2007
Miriam Marques wrote:
> I do not know if I should install another fftw library. I was trying
> to install a fftw-2.1.5 library (I downloaded it from http://www.fftw.org/)
> , but I do not know if it is suitable for Redhat linux.
> When using it, the line:
> FFT_LIBS = -L/Home/mmarques/fftw-2.1.5/lib -lfftw
> appears,
> but when executing make all, the error:
>
> make[1]: Entering directory `/phys/linux/mmarques/espresso-3.2/iotk'
> cd src ; make libiotk.a
> make[2]: Entering directory `/phys/linux/mmarques/espresso-3.2/iotk/src'
> cpp -P -traditional -D__FFTW -I../include
> -I/Home/mmarques/fftw-2.1.5/include /Home/mmarques/fftw-2.1.5/include
> iotk_base.f90 -o iotk_base.F90
> cc1: error: output filename specified twice
Can you inspect the file make.sys?
Most likely it will contain a line:
IFLAGS = -I../include -I/Home/mmarques/fftw-2.1.5/include
/Home/mmarques/fftw-2.1.5/include
So, delete the second occurrence of '/Home/mmarques/fftw-2.1.5/include'.
We'll try to fix this configure error in the CVS and in the next release.
HTH.
Davide
More information about the users
mailing list