"Failed to load the libascendcl.so dynamic library" is displayed when Ascend DMI performs a computing power test, bandwidth test, or function test. Check the environment configuration dependency.
For example, the following error message is displayed during the computing power test:
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.
The CANN package is not installed or the environment variables of the CANN are not configured.
Install the corresponding software package or configure environment variables by referring to 5.1 Adding Environment Variables.
The CANN Toolkit package is installed in the current environment. After the corresponding environment variables are imported, the computing power test is normal, and the following information is displayed:
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 ---------------------------------------------------------------------------------------