Compiler configuration

Ensure that your paths are set up appropriately for Arm Compiler for HPC, for example:

export PATH=/path/to/ArmCompiler/bin:$PATH
export LD_LIBRARY_PATH=/path/to/ArmCompiler/lib:$LD_LIBRARY_PATH

To configure your installation of Arm Compiler for HPC, use:

export CC=armclang
export CXX=armclang++
export FC=armflang

(Optional) Set tuning flags:

TUNE="-march=armv8.1-a -mcpu=native -ffp-contract=fast -fsimdmath"

(Optional) Disable some compiler warnings:

WARN="-Wno-parentheses-equality -Wno-writable-strings -Wno-return-type -Wno-logical-op-parentheses -Wno-writable-strings -Wno-deprecated-register "
Previous Next