Dear LAMMPS Users
I try to install LAMMPS (version 15th May 2015) via the attached Makefile but have encountered the following error:
force.o: In function LAMMPS_NS::Force::create_angle(char const*, int)': ../force.cpp:(.text+0x7205): undefined reference to
LAMMPS_NS::AngleCharmm::AngleCharmm(LAMMPS_NS::LAMMPS*)’
…/force.cpp:(.text+0x7319): undefined reference to LAMMPS_NS::AngleCharmm::AngleCharmm(LAMMPS_NS::LAMMPS*)' ../force.cpp:(.text+0x76e6): undefined reference to
LAMMPS_NS::AngleCharmm::AngleCharmm(LAMMPS_NS::LAMMPS*)’
force.o: In function LAMMPS_NS::Force::new_angle(char const*, int, int&)': ../force.cpp:(.text+0x7d2a): undefined reference to
LAMMPS_NS::AngleCharmm::AngleCharmm(LAMMPS_NS::LAMMPS*)’
…/force.cpp:(.text+0x7e82): undefined reference to LAMMPS_NS::AngleCharmm::AngleCharmm(LAMMPS_NS::LAMMPS*)' force.o:../force.cpp:(.text+0x81cc): more undefined references to
LAMMPS_NS::AngleCharmm::AngleCharmm(LAMMPS_NS::LAMMPS*)’ follow
make[1]: *** […/lmp_hpcibex01_15thMay15_intel] Error 1
make[1]: Leaving directory `/lustre04/vol0/lili3p/lammps-15May15/src/Obj_hpcibex01_15thMay15_intel’
make: *** [hpcibex01_15thMay15_intel] Error 2
The same source codes do not cause any problems in other places so I am confused by what settings might have caused this error appearing.
Many Thanks
Best Wishes
Lunna
Makefile.hpcibex01_15thMay15_intel (2.9 KB)