For details about how to set up the development environment and operating environment, see CANN Software Installation Guide of the corresponding Atlas product.
For Ascend devices, if the Driver and firmware have been installed, the environment can be directly used as the operating environment to execute the compiled executable app files.
After the CANN software is installed, to build and run your app as the CANN running user, log in to the environment as the said user and run the source ${install_path}/set_env.sh command to set environment variables. In the command, replace ${install_path} with the CANN software installation directory.