Constraints on Using the Tool in Containers
If you want to use the npu-smi tool in the container, perform the following operations to configure the environment variable:
- Run the vi ~/.bashrc command.
- Add the following environment variable to the .bashrc file, save the file, and exit.
export LD_LIBRARY_PATH=/usr/local/Ascend/driver/lib64/common:/usr/local/Ascend/driver/lib64/driver:${LD_LIBRARY_PATH}
- Run the source ~/.bashrc command for the environment variable to take effect.