Summary
DeePMD-kit v2 can be integrated with third-party packages such as ABACUS according to the doc: https://github.com/deepmodeling/deepmd-kit/blob/master/doc/inference/cxx.md
DeePMD-kit v3 can also do it and can be used to run MD with *.pb models. However, it will report the following error:
terminate called after throwing an instance of 'deepmd::hpp::deepmd_exception'
what(): DeePMD-kit C API Error: DeePMD-kit Error: PyTorch backend is not built
How to solve this problem?
DeePMD-kit Version
v3.0.0b3
Backend and its version
TensorFlow
Python Version, CUDA Version, GCC Version, LAMMPS Version, etc
No response
Details
Note that the libdeepmd_c.tar.gz of DeePMD-kit v3.0.0b3 is integrated with abacus in this issue.
It seems to lack the torch library in the lib folder:
libdeepmd_cc.so libdeepmd_dyn_cudart.so libdeepmd_op.so libtensorflow_cc.so.2
libdeepmd_c.so libdeepmd_op_cuda.so libdeepmd.so libtensorflow_framework.so.2
Summary
DeePMD-kit v2 can be integrated with third-party packages such as ABACUS according to the doc: https://github.com/deepmodeling/deepmd-kit/blob/master/doc/inference/cxx.md
DeePMD-kit v3 can also do it and can be used to run MD with *.pb models. However, it will report the following error:
How to solve this problem?
DeePMD-kit Version
v3.0.0b3
Backend and its version
TensorFlow
Python Version, CUDA Version, GCC Version, LAMMPS Version, etc
No response
Details
Note that the libdeepmd_c.tar.gz of DeePMD-kit v3.0.0b3 is integrated with abacus in this issue.
It seems to lack the torch library in the lib folder: