Error Message "Not enough space" Displayed in the Log During .run Package Installation
Symptom
During the installation of the CANN software package, the error message "Not enough space left in /tmp_extract_path (427500 KB) to decompress ./run_package/*.run (640852 KB)" is displayed in the log.

Possible Causes
The CANN software package requires a large amount of space to install. When the CANN software package is installed, it is automatically decompressed to a temporary directory (the default directory is $HOME). If the space of the temporary directory is insufficient, the installation will be terminated.
Solution
You can set the TMPDIR environment variable to specify a temporary directory with large disk space. After the configuration is complete, run the following command to perform the installation:
1
|
export TMPDIR=/path/to/directory |
Replace /path/to/directory with the path of the temporary folder. Before setting the path, ensure that the folder exists and you have the required permissions to create and access files in the folder. If the path is set to an invalid path, packages are decompressed to the $HOME directory by default.