GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles.
It is primarily designed for biochemical molecules like proteins, lipids and nucleic acids that have a lot of complicated bonded interactions, but since GROMACS is extremely fast at calculating the nonbonded interactions (that usually dominate simulations) many groups are also using it for research on non-biological systems, e.g. polymers
Do note that this Gromacs Installation Guide is for Gromacs 4.0.x. For detailed instruction, see GROMACS Installation Instructions. For installation of FFTW, you may want to take a look at Blogh Entry Installing FFTW
Since I'm using FFTW, MPI (OpenMPI to be exact) and configure FFTW with --prefix=/usr/local/fftw,
I've configured the following
# ./configure CPPFLAGS="-I/usr/local/fftw/include" LDFLAGS="-L/usr/local/fftw/lib" \ --with-fft=fftw3 --enable-mpi --disable-floatSome notes...... (Assuming you are using bash)
- To compile with FFTW version 3 "--with-fft=fftw3"
- To enable MPI "--enable-mpi"
- To select Double precision "--disable-float"
# make -j 8where 8 is the number of cores.
# make mdrun* if you have configure with "--enable-mpi"
# make install* Install all the binaries, libraries and shared data files with:
# make install-mdrun* If you only want to build the mdrun executable (in the case of an MPI build),
# make links* If you want to create links in
/usr/local/binto the installed GROMACS executables