This installation does not
require
root or sudo permission.Execute the following commands to install aocc-compiler-<ver>.tar.
-
cd <compdir> -
tar -xvf aocc-compiler-<ver>.tar -
cd aocc-compiler-<ver> -
bash install.shThe compiler is installed and the AOCC setup instructions are displayed.
-
source <compdir>/setenv_AOCC.shThis will setup the shell environment for using AOCC C, C++, and Fortran compiler where the command is executed.
Ensure the following:
- Run the bash command
<compdir>/aocc-compiler-<ver>/AOCC-prerequisites-check.shto check if you have all the prerequisites and that your shell environment is configured correctly.- If there are failing checks, correct them (repeat any of
the above steps that you may have missed) and run
AOCC-prerequisites-check.shagain. - Repeat until
AOCC-prerequisites-check.shdisplays Check:PASSED.Note: You can proceed if the packages mentioned in the warnings during the failing checks are not required for your run.
- If there are failing checks, correct them (repeat any of
the above steps that you may have missed) and run
- The compiler is installed and your environment is configured to the current
release of AOCC. At any point, you can execute the command
source <compdir>/setenv_AOCC.shto set the environment variables for the installed compiler.