下载
中文
注册
安装MindCluster ToolBox后使用算力、带宽、功耗等功能报错:Failed to load the libascendcl.so dynamic library

安装MindCluster ToolBox后使用算力、带宽、功耗等功能报错:Failed to load the libascendcl.so dynamic library

2025/01/11

181

暂无评分
我要评分

问题信息

问题来源产品大类产品子类关键字
官方安装部署MindCluster ToolBoxMindCluster ToolBox、安装配置、Ascend DMI

问题现象

Ascend DMI工具执行算力测试、带宽测试、功能测试等功能时报错,提示Failed to load the libascendcl.so dynamic library. Check the environment configuration dependency.

以执行算力测试为例,报错显示如下:

root@****:~# ascend-dmi -f
This test will affect the business on this server. Do you want to continue?(Y/N)y
Failed to load the libascendcl.so dynamic library. Check the environment configuration dependency.

可能原因

未安装CANN软件包或未配置CANN软件的环境变量。

解决措施

参考《MindCluster Toolbox用户指南》>“环境配置” 章节,安装对应软件包或配置环境变量。

当前环境安装了ascend_toolkit的开发插件包,导入对应环境变量后算力测试正常,如下显示:

root@****:~# source /usr/local/Ascend/ascend-toolkit/set_env.sh
root@****:~# ascend-dmi -f
This test will affect the business on this server. Do you want to continue?(Y/N)y
---------------------------------------------------------------------------------------
   Device       Execute Times       Duration(ms)       TFLOPS@FP16         Power(W)
---------------------------------------------------------------------------------------
   0            192,000,000         1536               262.144             242.899994
---------------------------------------------------------------------------------------

本页内容