Making lammps and fftw Issues

Hello All,

I am currently trying to build the most current version of lammps on ubuntu 11.04. I have installed MPI and FFTW packages. However, the main error I am receiving is “fftw.h: No such file or directory found”. I have exhausted every one of my attempts to fix the error but I have come up empty handed. What are my options? I am in need of some serious help.

Eagerly awaiting a response,

Jon

If you installed FFTW, you must have a fftw.h file in it. So
you simply need to insure the LAMMPS src/MAKE/Makefile.foo
you are using knows where to find that file. At most it should
take a setting for FFT_INC.

Steve

Hello All,
I am currently trying to build the most current version of lammps on ubuntu
11.04. I have installed MPI and FFTW packages. However, the main error I am

is this fftw-2.x or fftw-3.x?

for most linux distributions you have to install a development
package alongside the library.

i would recommend to use fftw3 and adjust your makefile accordingly.

receiving is "fftw.h: No such file or directory found". I have exhausted
every one of my attempts to fix the error but I have come up empty handed.
What are my options? I am in need of some serious help.

please re-read the documentation about your options for fourier
transform libraries. if you still have problems, just use -DFFT_NONE
and compile in the internal fourier transform library. lammps will only
be marginally slower with it than with any of the fftw libraries (the
fraction of time spent in the FFTs is usually fairly small).

cheers,
     axel.