Replies: 1 comment
-
This is what you need to do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
dp train input.json
To get the best performance, it is recommended to adjust the number of threads by setting the environment variables OMP_NUM_THREADS, DP_INTRA_OP_PARALLELISM_THREADS, and DP_INTER_OP_PARALLELISM_THREADS. See https://deepmd.rtfd.io/parallelism/ for more information.
Traceback (most recent call last):
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/tf/env.py", line 340, in get_module
module = tf.load_op_library(str(module_file))
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/tensorflow/python/framework/load_library.py", line 58, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/lib/libdeepmd_op.so: undefined symbol: _ZNK10tensorflow8OpKernel11TraceStringB5cxx11ERKNS_15OpKernelContextEb
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/SH/anaconda3/envs/deepmd/bin/dp", line 8, in
sys.exit(main())
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/main.py", line 920, in main
deepmd_main = BACKENDSargs.backend.entry_point_hook
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/backend/tensorflow.py", line 73, in entry_point_hook
from deepmd.tf.entrypoints.main import main as deepmd_main
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/tf/init.py", line 4, in
import deepmd.tf.utils.network as network
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/tf/utils/init.py", line 9, in
from .learning_rate import (
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/tf/utils/learning_rate.py", line 8, in
from deepmd.tf.env import (
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/tf/env.py", line 404, in
op_module = get_module("deepmd_op")
File "/home/SH/anaconda3/envs/deepmd/lib/python3.9/site-packages/deepmd/tf/env.py", line 350, in get_module
raise RuntimeError(
RuntimeError: This deepmd-kit package was compiled with CXX11_ABI_FLAG=1, but TensorFlow runtime was compiled with CXX11_ABI_FLAG=0. These two library ABIs are incompatible and thus an error is raised when loading deepmd_op. You need to rebuild deepmd-kit against this TensorFlow runtime.
Beta Was this translation helpful? Give feedback.
All reactions