Installing RPM Package - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

Complete the following steps to install the AOCL RPM package:

  1. Download the AOCL 5.2 RPM package to the target machine.

  2. Install the package.

    $ sudo rpm -ivh aocl-linux-gcc-5.2.0-1.x86_64.rpm
    

    Note

    You must have the sudo privileges to perform this action.

  3. Display the installed package information along with the package version and a short description.

    $ rpm -qi aocl-linux-gcc-5.2.0.x86_64
    
  4. List the contents of the package.

    $ rpm -ql aocl-linux-gcc-5.2.0
    
  5. AOCL libraries support the following two integer types:

    • LP64 libraries and header files are installed in /INSTALL_PATH/lib_LP64 and /INSTALL_PATH/include_LP64 respectively.

    • ILP64 libraries and header files are installed in /INSTALL_PATH/lib_ILP64 and /INSTALL_PATH/include_ILP64 respectively.

    Note

    AOCL-Compression supports only LP64; AOCL-FFTW supports LP64 and ILP64 in single binary using a different set of APIs.

    By default, LP64 libraries and header files are available in /INSTALL_PATH/lib and /INSTALL_PATH/include respectively.

    Where,

    • INSTALL_PATH: /opt/AMD/aocl/aocl-linux-<compiler>-5.2.0/<compiler>

    • Compiler: aocc or gcc

    For example, INSTALL_PATH for gcc compiler is: /opt/AMD/aocl/aocl-linux-gcc-5.2.0/gcc

  6. To change the default library path to ILP64 / LP64, use the following script:

    $ cd /opt/AMD/aocl/aocl-linux-<compiler>-5.2.0/gcc
    $ sudo bash set_aocl_interface_symlink.sh <ilp64 / lp64>