下载
中文
注册
benchmark工具编译失败:fatal error:acl/acl_base.h no such file or firectory

benchmark工具编译失败:fatal error:acl/acl_base.h no such file or firectory

2024/02/20

197

暂无评分
我要评分

问题信息

问题来源产品大类产品子类关键字
官方模型推理benchmarkais_bench、benchmark

问题现象描述

报错现象:fatal error:acl/acl_base.h no such file or firectory

原因分析

环境变量设置问题,CMakeLists.txt中设置的静态链接库与动态链接库路径下没有对应文件。

排查方法

查看CMakeLists.txt里配置的环境变量是否正确配置。

解决措施

export install_path=/usr/local/Ascend/ascend-toolkit/latest/
# install_path指定ascend-toolkit实际安装路径

类似编译问题均可通过查看CMakeLists.txt来排查。

本页内容