Prerequisites
Install Environment Modules (the module command) on your system.
Set AOCL environment using the module file:
After installing the
aocl-linux-<compiler>-<release>.tar.gzfile 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
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