lammps installation

That's a question for building FFTW. If it
gives you a *.so file then you did it correctly.

Steve