[lammps-users] how to use pppm

I want to use PPPM. Now I download FFFW and install it. I use cygwin on
windows xp. How do I add FFFW into Lampps?
Initially, I use make.serial ( which dose not include MPI and FFT), and it
works well without PPPM.
I also tried make.cygwin, but it shows errors:
one error is “mpicxx: command not found, Error 127”
and also ask for a lot of files: “filename.d”
My computer only have one processor, so I don’t have mpi stuff.
Now how do I change the make file to use PPPM.
thank you very much


If you don't care about running mpi on your cygwin box, you can modify
Makefile.cygwin accordingly, with something like:

CC = g++
CCFLAGS = -O -I../STUBS -I/cygdrive/c/cygwin/fftw/include -DFFT_FFTW
LINK = g++
LINKFLAGS = -O -L../STUBS -L/cygdrive/c/cygwin/fftw/lib
USRLIB = -lmpi -lfftw
SYSLIB = -lm
SIZE = size

Alternatively, you could start with Makefile.serial and add the FFTW
stuff. You'd probably wind up with just about the same thing.