Environment Variables

Table 1 Environment variables

Environment Variable

Description

LD_LIBRARY_PATH

Specifies the search path of the dynamic link library.

ASCEND_OPP_PATH

Specifies the root directory of the operator library. You must have the write permission on the directory.

ASCEND_DMI_LOG_LEVEL

Records debug logs when ASCEND_DMI_LOG_LEVEL is set to 1.

ASCEND_TOOLKIT_HOME

Specifies the path for storing files after CANN Toolkit is installed.

PYTHONPATH

Specifies the search path of Python.

ASCEND_AICPU_PATH

Specifies the AICPU component installation path.

TOOLCHAIN_HOME

Specifies the installation path of the toolchain.

ASCEND_HOME_PATH

Same as ASCEND_TOOLKIT_HOME, which specifies the path for storing files after CANN Toolkit is installed.

BISHENG_INSTALL_PATH

Specifies the installation path of BiSheng Compiler.