Replies: 2 comments 2 replies
-
|
You may check |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Have you execute |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to compile user-deepmd on lammps, but I always encountered errors:
/software/rh/devtoolset-9/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/9/ld: ./liblammps_mpi.a(lammps.o): in function
std::string* tensorflow::internal::MakeCheckOpString<long, int>(long const&, int const&, char const*)': /home/project/anaconda3/envs/dpmdkit1.3/include/tensorflow/core/platform/default/logging.h:344: undefined reference totensorflow::internal::CheckOpMessageBuilder::NewString()'/software/rh/devtoolset-9/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/9/ld: ./liblammps_mpi.a(fix_dplr.o): in function
LAMMPS_NS::FixDPLR::FixDPLR(LAMMPS_NS::LAMMPS*, int, char**)': /home/project/lammps-29Oct20/src/Obj_mpi/../fix_dplr.cpp:98: undefined reference toDeepTensor::init(std::string const&, int const&, std::string const&)'/software/rh/devtoolset-9/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/9/ld: /home/project/lammps-29Oct20/src/Obj_mpi/../fix_dplr.cpp:99: undefined reference to
DataModifier::init(std::string const&, int const&, std::string const&)' /software/rh/devtoolset-9/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/9/ld: ./liblammps_mpi.a(pair_nnp.o): in functionLAMMPS_NS::PairNNP::print_summary(std::string) const':/home/project/lammps-29Oct20/src/Obj_mpi/../pair_nnp.cpp:237: undefined reference to
NNPInter::print_summary(std::string const&) const' /software/rh/devtoolset-9/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/9/ld: ./liblammps_mpi.a(pair_nnp.o): in functionLAMMPS_NS::PairNNP::settings(int, char**)':/home/project/lammps-29Oct20/src/Obj_mpi/../pair_nnp.cpp:667: undefined reference to
NNPInter::init(std::string const&, int const&)' /software/rh/devtoolset-9/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/9/ld: /home/project/lammps-29Oct20/src/Obj_mpi/../pair_nnp.cpp:668: undefined reference toNNPInterModelDevi::init(std::vector<std::string, std::allocatorstd::string > const&, int const&)'/software/rh/devtoolset-9/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/9/ld: /home/project/lammps-29Oct20/src/Obj_mpi/../pair_nnp.cpp:660: undefined reference to `NNPInter::init(std::string const&, int const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:89: ../lmp_mpi] Error 1
make[1]: Leaving directory '/project/lammps-29Oct20/src/Obj_mpi'
make: *** [Makefile:212: mpi] Error 2
Beta Was this translation helpful? Give feedback.
All reactions