Switching/Activating a CANN Package

Switching the CANN

  • For a Linux OS:
    1. Open CANN Manager by referring to Overview and access the window shown in Figure 1 by using either of the following methods:
      • Click on the right of CANN location. The dialog box of selecting the Toolkit path is displayed, as shown in Figure 1.
      • Click Change CANN on the CANN Manager, and then click in the dialog box displayed, as shown in Figure 2.
        Figure 1 Selecting the Toolkit version
        Figure 2 Selecting the installation path of the Ascend-CANN-Toolkit
    2. Select the new Toolkit and click OK. Confirm the change, as shown in Figure 3.
      Figure 3 Confirming the change
      1. Click OK. After MindStudio IDE automatically reboots, the new CANN is activated.
      2. If a project has been opened before the CANN switchover, the dialog box shown in Figure 4 is displayed. Click OK. In the displayed dialog box shown in Figure 5, click Change and select the new Toolkit version.
        Figure 4 Message indicating that the CANN is not installed
        Figure 5 Modifying the project properties
      3. Click Cancel. The new CANN is not activated and is unavailable.