Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

paddle预测库编译cmake后出 core

Open barry2025 opened this issue 5 years ago • 4 comments

问题描述: cmake 后出现 core 文件,cmake 过程未报错,有一个 warning: image

环境和版本: commitID: e04b66f2d2 branch: release/2.1 编译环境:ubuntu18.04,cuda10.2,cmake3.18.4 cmake 命令: cmake .. -DCUDA_ARCH_NAME=All -DWITH_PYTHON=OFF -DWITH_MKL=ON -DWITH_MKLDNN=ON -DWITH_GPU=ON -DON_INFER=ON

barry2025 avatar Aug 10 '21 12:08 barry2025

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!

paddle-bot-old avatar Aug 10 '21 12:08 paddle-bot-old

-DCUDA_ARCH_NAME=All 应该写成-DCUDA_ARCH_NAME="All"

BillDior avatar Aug 11 '21 09:08 BillDior

修改后仍然有 core,这是 cmake 输出log:https://bj.bcebos.com/v1/acg-algo/user/tangxin/tmp/build_log.txt 这是 build 目录生成的文件:https://bj.bcebos.com/v1/acg-algo/user/tangxin/tmp/build_cuda.tar.gz

barry2025 avatar Aug 11 '21 11:08 barry2025

已通过您的日志确认 -DCUDA_ARCH_NAME=All 设置正确。 请尝试: 1、确认您的机器上是否有显卡; 2、单独运行 nvcc 观察行为是否正常; 3、尝试升级 cmake。

Shixiaowei02 avatar Aug 19 '21 02:08 Shixiaowei02