Please select To the mobile version | Continue to access the desktop computer version


 Forgot password?
View: 65|Reply: 1
Collapse the left

tensorflow problem when running dp

[Copy link]
Post time: 2020-07-18 01:33:30
| Show all posts |Read mode
Edited by wzb198910 at 2020-07-18 01:35


After intalled the deepmd-kit by using the code "conda install deepmd-kit=*=*cpu lammps-dp=*=*cpu -c deepmodeling", I running the code: "dp -h".
Then, I met the error as following:

WARNING:tensorflow:From /opt/intel/intelpython3/lib/python3.7/site-packages/tensorflow/python/compat/ disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Traceback (most recent call last):
  File "/opt/intel/intelpython3/bin/dp", line 7, in <module>
    from deepmd.main import main
  File "/opt/intel/intelpython3/lib/python3.7/site-packages/deepmd/", line 2, in <module>
    from .DeepEval   import DeepEval
  File "/opt/intel/intelpython3/lib/python3.7/site-packages/deepmd/", line 18, in <module>
    op_module = tf.load_op_library(os.path.join(module_path, "libop_abi.{}".format(ext)))
  File "/opt/intel/intelpython3/lib/python3.7/site-packages/tensorflow/python/framework/", line 58, in load_op_library
    lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /opt/intel/intelpython3/lib/python3.7/site-packages/deepmd/ undefined symbol: _ZN10tensorflow8OpKernel11TraceStringB5cxx11EPNS_15OpKernelContextEb

How can I solve this problem?


Use magic Report

 Author| Post time: 2020-07-20 16:29:47
| Show all posts
The problem has been solved by update the tensorflow to 2.2.0
Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Dark room|DeePMD

2020-08-11 23:40 GMT+8 , Processed in 0.102498 sec., 19 queries .

Quick Reply To Top Return to the list