Installing Debian Package - Installing Debian Package - 5.3 English - 57404

AOCL User Guide (57404)

Document_ID
57404
Release_Date
2026-05-13
Version
5.3 English

Complete the following steps to install the AOCL Debian package:

  1. Download the AOCL 5.3.0 Debian package to the target machine.

  2. Check the installation path before installing.

    $ dpkg -c aocl-linux-gcc-5.3.0_1_amd64.deb
    
  3. Install the package.

    $ sudo dpkg -i aocl-linux-gcc-5.3.0_1_amd64.deb
    
    Or
    
    $ sudo apt install ./aocl-linux-gcc-5.3.0_1_amd64.deb
    

    Note

    You must have the sudo privileges to perform this action.

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

    $ dpkg -s aocl-linux-gcc-5.3.0
    
  5. List the contents of the package.

    $ dpkg -L aocl-linux-gcc-5.3.0
    
  6. AOCL libraries support the following two integer types:

    • LP64 libraries and header files are installed in <INSTALL_ROOT>/lib_LP64 and <INSTALL_ROOT>/include_LP64 respectively.

    • ILP64 libraries and header files are installed in <INSTALL_ROOT>/lib_ILP64 and <INSTALL_ROOT>/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_ROOT>/lib and <INSTALL_ROOT>/include respectively, where:

    • <INSTALL_ROOT>: /opt/AMD/aocl/aocl-linux-<compiler>-5.3.0/<compiler>/<threading>

    • Compiler: aocc or gcc

    • <threading>: MT or ST (default amd-libs.cfg / modules use MT)

    For example, for the GCC build (MT tree): /opt/AMD/aocl/aocl-linux-gcc-5.3.0/gcc/MT

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

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