[Pw_forum] installation problem

Paolo Giannozzi giannozz at nest.sns.it
Tue Dec 4 13:14:27 CET 2007

On Dec 4, 2007, at 9:59 , ramesh kumar wrote:

> make all says comments like this
> gfortran -O3 -x f95-cpp-input -D__FFTW -I../include  -lfftw -I./  - 
> I../Modules  -I../iotk/src -I../PW  -I../PH  -I../CPV -c vloc_psi.f90
> gfortran: -lfftw: linker input file unused because linking not done

from make.sys:
# IFLAGS = how to locate directories where files to be included are
# In most cases, IFLAGS = -I../include
# If loading an external FFTW library, add the location of FFTW  
include files

IFLAGS         = -I../include
you added -lfftw to IFLAGS. Do not know the difference between
"include files" and libraries? if not, please stick to internal FFTW
libraries and don't try to mess up with the make.sys file.

Paolo Giannozzi, Dept of Physics, University of Udine
via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222

More information about the users mailing list