Replies: 1 comment 2 replies
-
The compiler or compile flags mismatch, which causes the symbols mismatch. There are two options here: (1) use the exactly same compiler and flags as the plugin; (2) recompile the plugin against the C library. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
But running lammps gives an error:
LAMMPS (23 Jun 2022 - Update 2)
using 1 OpenMP thread(s) per MPI task
Open of file /public/home/tm_lkx/deepmd-kit/lib/deepmd_lmp/dpplugin.so failed: /public/home/tm_lkx/deepmd-kit/lib/deepmd_lmp/./././libtensorflow_framework.so.2: undefined symbol: _ZN6snappy20RawUncompressToIOVecEPKcmPK5iovecm
Loaded 0 plugins from /public/home/tm_lkx/deepmd-kit/lib/deepmd_lmp
Open of file /public/home/tm_lkx/deepmd-kit/lib/deepmd_lmp/libdeepmd_lmp.so failed: /public/home/tm_lkx/deepmd-kit/lib/deepmd_lmp/libdeepmd_lmp.so: undefined symbol:
_ZN9LAMMPS_NS5Error4_allERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiN3fmt6v8_lmp17basic_string_viewIcEENSA_17basic_format_argsINSA_20basic_format_contextINSA_8appenderEcEEEE
Beta Was this translation helpful? Give feedback.
All reactions