Setting Environment Using Modules - Setting Environment Using Modules - 5.3 English - 57404

AOCL User Guide (57404)

Document_ID
57404
Release_Date
2026-05-13
Version
5.3 English

Prerequisites

Install Environment Modules (the module command) on your system.

  1. Set AOCL environment using the module file:

    After installing the aocl-linux-<compiler>-<release>.tar.gz file on your system, set the AOCL environment using the module file generated on the installed path with the following commands:

    $ cd <INSTALL_ROOT>
    $ module load ./aocl-linux-aocc-5.3.0_module
    $ module load ./aocl-linux-gcc-5.3.0_module
    
  2. To unset AOCL environment using the module file:

    $ cd <INSTALL_ROOT>
    $ module unload ./aocl-linux-aocc-5.3.0_module
    $ module unload ./aocl-linux-gcc-5.3.0_module