fluid/core.so: undefined symbol: mkldnn_softmax_backward_desc_init
Created by: youngstu
(paddle_v014_dev) [xxx.xxx]$ python -c "import paddle.fluid"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/ar/shaoxiong/envs/vrts/paddle_v014_dev/lib/python2.7/site-packages/paddle/fluid/__init__.py", line 17, in <module>
from . import framework
File "/home/ar/shaoxiong/envs/vrts/paddle_v014_dev/lib/python2.7/site-packages/paddle/fluid/framework.py", line 33, in <module>
directory. The original error is: \n""" + cpt.get_exception_message(e))
ImportError: NOTE: You may need to run "export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH"
if you encounters "libmkldnn.so not found" errors. If you have python
installed in other directory, replace "/usr/local/lib" with your own
directory. The original error is:
/home/ar/shaoxiong/envs/vrts/paddle_v014_dev/lib/python2.7/site-packages/paddle/fluid/core.so: undefined symbol: mkldnn_softmax_backward_desc_init
说明:
- 使用 paddLe 官网docker gpu 环境编译
- paddle code clone from github develop 分支
- 在本地编译完成后,在服务器上部署,python -c "import paddle.fluid", 出错