Open nelinnemann opened 2 years ago
Using Cmake I get this error from release 21.11 trying to build with OpenMP
[ 99%] Building CXX object CMakeFiles/liggghts_bin.dir/main.cpp.o [100%] Linking CXX executable liggghts /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::granular_nsq_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::respa_bin_newton_tri_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::half_multi_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::half_bin_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_from_full_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::full_nsq_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::respa_bin_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_bin_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::granular_nsq_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::granular_bin_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_bin_newton_tri_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::full_bin_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::granular_bin_newton_tri_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::full_bin_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to vtable for LAMMPS_NS::DomainOMP' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::respa_nsq_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_nsq_no_newton_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::half_multi_newton_tri_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::half_from_full_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_bin_no_newton_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::half_multi_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::respa_bin_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::full_nsq_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::respa_nsq_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::half_nsq_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::full_multi_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to LAMMPS_NS::Neighbor::granular_bin_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::half_nsq_newton_omp(LAMMPS_NS::NeighList*)' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/liggghts_bin.dir/build.make:232: liggghts] Error 1 make[1]: [CMakeFiles/Makefile2:138: CMakeFiles/liggghts_bin.dir/all] Error 2 make: *** [Makefile:136: all] Error 2`
[ 99%] Building CXX object CMakeFiles/liggghts_bin.dir/main.cpp.o [100%] Linking CXX executable liggghts /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::half_multi_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::full_nsq_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::granular_nsq_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::full_bin_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
vtable for LAMMPS_NS::DomainOMP' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::half_multi_newton_tri_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::half_multi_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::respa_nsq_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::granular_bin_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
Using Cmake I get this error from release 21.11 trying to build with OpenMP
[ 99%] Building CXX object CMakeFiles/liggghts_bin.dir/main.cpp.o [100%] Linking CXX executable liggghts /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::granular_nsq_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::respa_bin_newton_tri_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::half_multi_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::half_bin_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_from_full_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::full_nsq_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::respa_bin_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_bin_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::granular_nsq_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::granular_bin_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_bin_newton_tri_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::full_bin_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::granular_bin_newton_tri_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::full_bin_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference tovtable for LAMMPS_NS::DomainOMP' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::respa_nsq_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_nsq_no_newton_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::half_multi_newton_tri_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::half_from_full_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::half_bin_no_newton_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::half_multi_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::respa_bin_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::full_nsq_ghost_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::respa_nsq_no_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::half_nsq_no_newton_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference to `LAMMPS_NS::Neighbor::full_multi_omp(LAMMPS_NS::NeighList)' /usr/bin/ld: libliggghts.so: undefined reference toLAMMPS_NS::Neighbor::granular_bin_newton_omp(LAMMPS_NS::NeighList*)' /usr/bin/ld: libliggghts.so: undefined reference to
LAMMPS_NS::Neighbor::half_nsq_newton_omp(LAMMPS_NS::NeighList*)' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/liggghts_bin.dir/build.make:232: liggghts] Error 1 make[1]: [CMakeFiles/Makefile2:138: CMakeFiles/liggghts_bin.dir/all] Error 2 make: *** [Makefile:136: all] Error 2`