I am attempting to make LIGGGHTS with openmpi and I am getting the following error near the end:
atom.o: In function `LAMMPS_NS::Atom::new_avec(char const*, char*, int&)":
atom.cpp: (.text+0x12a8): undefined reference to `LAMMPS_NS::AtomVecTri::AtomVecTri(LAMMPS_NS::LAMMPS*)'
atom.cpp: (.text+0x13b7): undefined reference to `LAMMPS_NS::AtomVecTri::AtomVecTri(LAMMPS_NS::LAMMPS*)'
colect2: error ld returned 1 exit status
Could someone provide some guidance on how to resolve this issue? What step/steps am I missing?
Thank you!
aaigner | Sat, 06/25/2016 - 23:45
clean before build
Did you run
make clean-all
before re-compiling the code?Bests
Andreas
tronjunky | Sun, 06/26/2016 - 01:19
same error message as well
We do a make clean-all every time. We still get that message
ckloss | Tue, 06/28/2016 - 18:37
Please try a fresh clone,
Please try a fresh clone, then it should work alright!
Best wishes
Christoph