make.serial error on Ubuntu 11.10 x86_64

My build process is as follows:

  1. copied entire LAMMPS tree into a working directory
  2. Cd to src
  3. make stubs
  4. make serial

I did not do any yes/no makes prior to running make serial.
I noticed this same error came up back on Jan 3 with fix_phonon in the list server.

************************************ Error on the screen *********************************************

g++ -O -DLAMMPS_GZIP -I…/STUBS -c velocity.cpp
g++ -O -DLAMMPS_GZIP -I…/STUBS -c verlet.cpp
g++ -O -DLAMMPS_GZIP -I…/STUBS -c verlet_split.cpp
verlet_split.cpp: In member function ‘void LAMMPS_NS::VerletSplit::k2r_comm()’:
verlet_split.cpp:459:43: error: ‘MPI_Scatterv’ was not declared in this scope
make[1]: *** [verlet_split.o] Error 1
make[1]: Leaving directory `/home/mike/lmpserial/src/Obj_serial’
make: *** [serial] Error 2

My build process is as follows:

1. copied entire LAMMPS tree into a working directory
2. Cd to src
3. make stubs
4. make serial

I did not do any yes/no makes prior to running make serial.
I noticed this same error came up back on Jan 3 with fix_phonon in the list
server.

************************************ Error on the screen
*********************************************

g++ -O -DLAMMPS_GZIP -I../STUBS -c velocity.cpp
g++ -O -DLAMMPS_GZIP -I../STUBS -c verlet.cpp
g++ -O -DLAMMPS_GZIP -I../STUBS -c verlet_split.cpp
verlet_split.cpp: In member function ‘void
LAMMPS_NS::VerletSplit::k2r_comm()’:
verlet_split.cpp:459:43: error: ‘MPI_Scatterv’ was not declared in this
scope
make[1]: *** [verlet_split.o] Error 1
make[1]: Leaving directory `/home/mike/lmpserial/src/Obj_serial'
make: *** [serial] Error 2

**********************************************************************************************************

verlet_split.cpp is a new file that was added in yesterday's patch.
apparently it is the first to use MPI_Scatterv and wasn't tested for
compilation against the MPI stub library, since the stub library only
has stubs for MPI calls LAMMPS needs, not all of MPI.

you'll have to compile it against a real MPI library for now.

My May build is running nicely on OS X using openMPI. I'm looking now to
build for a GTX285
on Ubuntu - unfortunately the CPU is 940 pin FX74 dual core.

so what has that to do with it?
with a dual core you still want to use MPI, right?

axel.

This is fixed in last night's 9Dec patch.

Steve