Error adding RIGID package

Hi*,*

I was trying to add the RIGID package but I received this error:

g++ -g -O -DLAMMPS_GZIP -DLAMMPS_JPEG -DMPICH_SKIP_MPICXX -DFFT_FFTW -c …/angle_charmm.cpp
In file included from …/angle.h:18:0,
from …/angle_charmm.h:24,
from …/angle_charmm.cpp:20:
…/pointers.h:25:17: fatal error: mpi.h: No such file or directory
compilation terminated.
make[1]: *** [angle_charmm.o] Error 1
make[1]: Leaving directory `/home/alexa/lammps-27Nov13/src/Obj_g++’
make: *** [g++] Error 2

Help please

Hi,

I was trying to add the RIGID package but I received this error:

g++ -g -O -DLAMMPS_GZIP -DLAMMPS_JPEG -DMPICH_SKIP_MPICXX -DFFT_FFTW -c
../angle_charmm.cpp
In file included from ../angle.h:18:0,
                 from ../angle_charmm.h:24,
                 from ../angle_charmm.cpp:20:
../pointers.h:25:17: fatal error: mpi.h: No such file or directory
compilation terminated.
make[1]: *** [angle_charmm.o] Error 1
make[1]: Leaving directory `/home/alexa/lammps-27Nov13/src/Obj_g++'
make: *** [g++] Error 2

there is absolutely no indication that this has anything to do with
the RIGID package, but rather that your makefile
(src/MAKE/Makefile.g++) is not correctly configured. for compiling
with MPI support, you should usually try using mpicxx or mpiCC as
compiler before using g++ directly and having to specify the path to
your MPI installation explicitly. please see the
installation/compilation instructions in the LAMMPS manual for details
and perhaps consult with a local expert on linux to find the proper
settings for your machine.

axel.