Introduction

System Requirement

Ubuntu 18.04, CentOS 7.6, or EulerOS 2.8 is supported.

Environment Setup

Set up the development environment by referring to CANN Software Installation Guide.

Configuring Environment Variables

  1. Log in as the running user, run the vi ~/.bashrc command in any directory to open the .bashrc file, and append the following content to the file (the default installation path of a non-root user is used as an example):
    # Ascend-CANN-Toolkit environment variable. Change it to the actual path.
    source ~/Ascend/ascend-toolkit/set_env.sh
  2. Run the :wq! command to save the file and exit.
  3. Run the source ~/.bashrc command for the modification to take effect immediately.