I tried upgrading my october lammps built to new Feb build. I did not
do upgrade. Just downloaded fresh full copy of lammps, untarred, make
STUBS and then "make serial".
I used same default serial file when I compiled last time, nothing was
changed in it. It compiled fine. This time, I get this error (last
part of command output included).
Make file use: Makefile.serial
Error:
I tried upgrading my october lammps built to new Feb build. I did not
do upgrade. Just downloaded fresh full copy of lammps, untarred, make
STUBS and then "make serial".
try 'make -C STUBS'
I used same default serial file when I compiled last time, nothing was
changed in it. It compiled fine. This time, I get this error (last
part of command output included).
[...]
temper.o thermo.o timer.o universe.o update.o variable.o velocity.o
verlet.o write_restart.o -lmpi -o ../lmp_serial
^^^^^
there should be a -L../STUBS somewhere. is it?
it might be at the beginning of the command line (not shown).
axel.
/usr/bin/ld: Undefined symbols:
MPI_Bcast(void*, int, int, int, int)
MPI_Allreduce(void*, void*, int, int, int, int)
MPI_Scan(void*, void*, int, int, int, int)
[...]
Are you sure you made the STUBS library? Normally you
would
cd STUBS
make clean
make
and the result would be a libmpi.a file
Somehow you are not linking against that file correctly
when you build LAMMPS.
Steve