[Pw_forum] newbie update

Paolo Giannozzi giannozz at democritos.it
Sat Mar 7 14:51:12 CET 2009


On Mar 7, 2009, at 12:09 , Carlo Nervi wrote:

> fft_scalar.f90(.text+0xc47): undefined reference to  
> 'dfftw_execute_dft_'
>
> ... and many other similar link errors...
>
> For example, I'm still not sure if this is correct:
> DFLAGS         =  -D__INTEL -D__FFTW3 -D__MPI -D__PARA
> FFT_LIBS       = -L/opt/intel/mkl/9.1.023/lib/em64t -lfftw3xf_intel

-lfftw3x_intel must be loaded before -lmkl (in your case, -lmkl_em64t).
Put it whenever you want, but note that
   LIBS           = $(LAPACK_LIBS) $(BLAS_LIBS) $(FFT_LIBS) $ 
(MPI_LIBS) ...

P.
---
Paolo Giannozzi, Democritos and University of Udine, Italy





More information about the users mailing list