---
title: 安装MindCluster ToolBox后使用算力、带宽、功耗等功能报错：Failed to load the libascendcl.so dynamic library。
description: "Ascend DMI工具执行算力测试、带宽测试、功能测试等功能时报错，提示Failed to load the libascendcl.so dynamic library. Check the environment configuration dependency."
url: https://www.hiascend.com/document/detail/zh/mindcluster/latest/toolbox/toolboxug/toolboxug_0097.html
sourcePath: /source/zh/mindcluster/2610/toolbox/toolboxug/toolboxug_0097.html
indexId: 0784cee3af5f59a67d60cb919d855515b39e87fdfcf76cccb008137a592fa5c665
---
# 安装MindCluster ToolBox后使用算力、带宽、功耗等功能报错：Failed to load the libascendcl.so dynamic library。

#### 问题现象

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软件的环境变量。


#### 解决措施

参考5.1添加环境变量章节，安装对应软件包或配置环境变量。

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

```
root@****:
~
# source /usr/local/Ascend/cann/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
---------------------------------------------------------------------------------------
```
