Installation - Installation - 57222

AOCC User Guide

Document_ID
57222
Release_Date
2026-05-12
Revision
5.2 English
This installation does not require root or sudo permission.

Execute the following commands to install aocc-compiler-<ver>.tar.

  1. cd <compdir>
  2. tar -xvf aocc-compiler-<ver>.tar
  3. cd aocc-compiler-<ver>
  4. bash install.sh

    The compiler is installed and the AOCC setup instructions are displayed.

  5. source <compdir>/setenv_AOCC.sh

    This 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.sh to 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.sh again.
    • Repeat until AOCC-prerequisites-check.sh displays Check:PASSED.
      Note: You can proceed if the packages mentioned in the warnings during the failing checks are not required for your 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.sh to set the environment variables for the installed compiler.