"Failed to load the libdcmi.so dynamic library. Check the environment configuration dependency." is displayed when Ascend DMI is used.
The following uses software and hardware compatibility test performed by Ascend DMI as an example. The error information is as follows:
[root@****]# ascend-dmi -c Failed to load the libdcmi.so dynamic library. Check the environment configuration dependency.
[root@****]$npu-smi info +--------------------------------------------------------------------------------------------+ | npu-smi 24.1.rc2.b010 Version: 24.1.rc2.b010 +--------------------------+--------------+--------------------------------------------------+ | NPU Name | Health | Power(W) Temp(C) Hugepages-Usage(page) | | Chip Device | Bus-Id | AICore(%) Memory-Usage(MB) | +==========================+==============+==================================================+ | 0 xxxx | OK | 9.6 56 15 /15 | | 0 0 | NA | 0 3398 / 11578 | +==========================+==============+==================================================+
find /usr/local/Ascend/driver/ -name libdcmi.so
Search for the location of libdcmi.so and check the corresponding permission. If the permission is 444, the permission is normal. If the permission is not found or the permission is not 444, the permission is abnormal. /usr/local/Ascend/driver/ is the actual driver installation path.
root@****:~# find /usr/local/Ascend/driver/ -name libdcmi.so /usr/local/Ascend/driver/lib64/driver/libdcmi.so root@****:~# ll /usr/local/Ascend/driver/lib64/driver/libdcmi.so -r--r--r-- 1 root root 447832 May 23 02:59 /usr/local/Ascend/driver/lib64/driver/libdcmi.so