Configuring Temporary File Path During Installation
The installation of the CANN package requires large space. If the space is insufficient during the installation, you can use the TMPDIR environment variable to change the directory for storing decompressed temporary files to a directory on a disk with more available space, and then proceed with the installation. Here is an example command:
1 | export TMPDIR=/path/to/directory |
/path/to/directory is the path to the temporary directory you want to set. Before setting, ensure that the path exists and you have sufficient permissions to create and access files. If the path is set to an invalid path, packages are decompressed to the $HOME directory by default.
Parent topic: Appendix C: Installation Troubleshooting