[lammps-users] Lammps can't find the FFT

I downloaded and built the FFT package, and when building lammps it still can't find fftw.h. I tried moving the FFT package to different directories and that still didn't work. Is there a specific directory the FFT package has to be in or built a specific way?

-James

I downloaded and built the FFT package, and when building lammps it
still can't find fftw.h. I tried moving the FFT package to different
directories and that still didn't work. Is there a specific directory
the FFT package has to be in or built a specific way?

james,

did you install FFTW-v2.1.5? LAMMPS does not work with FFTW-3.x
also when you install a custom compile of FFTW-2.x or have your
system provided FFTW-2.x in a non-standard directory, you have to
adjust the makefile to point the compiler to the directory where to
find the include file.

cheers,
    axel.

To re-emphasize Axel's point, if the error you are getting is
that the LAMMPS build cannot find your FFTW, then you
have to specify where it is in your src/MAKE/Makefile.foo file.

Steve