When I was compiling LAMMPS, I come across this Flag when preparing the compiler/linker settings
CCFLAGS = -g -O -I/usr/local/fftw/include -DFFT_FFTW -DOMPI_SKIP_MPICXX -DOMPI_IGNORE_CXX_SEEK
What do -DOMPI_IGNORE_CXX_SEEK really seek to solve. It happens on openmpi-1.2 with Intel. This is due to BOTH stdio.h and the MPI C++ interface use SEEK_SET, SEEK_CUR, SEEK_END.
For more inforamtion. see this FAQs from NCSA
I got an error message: SEEK_SET is #defined but must not be for the C++ binding of MPI. What does that mean?