LIGGGHTS 3.3.1 - Public make errors with openmpi

Submitted by Stephanie.Poole on Fri, 06/24/2016 - 04:47

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's picture

aaigner | Sat, 06/25/2016 - 23:45

Did you run make clean-all before re-compiling the code?

Bests
Andreas

maruusa | Wed, 01/03/2024 - 03:59

I have read your post very carefully and I just want to say that the information you shared is great and I have learned a lot from it. fnf