Setting Environment Using Modules - 5.2 English - 57404

AOCL User Guide (57404)

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

Install modules on your system.

  1. Set AOCL environment using module file:

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

    $ module load ./aocl-linux-aocc-5.2_module
    $ module load ./aocl-linux-gcc-5.2_module
    
  2. To unset AOCL environment using module file:

    $ module unload ./aocl-linux-aocc-5.2_module
    $ module unload ./aocl-linux-gcc-5.2_module