AMD Optimizing CPU Libraries and Compilers
For our amd
clusters, we've installed the AOCC (AMD Optimizing
C/C++ Compiler) compiler system and AOCL (AMD Optimizing CPU Libraries)
on the HPCC system. Here we introduce how to use the installed compilers
and libraries.
AOCC Compilers
AMD is based on the LLVM compilers use and the commands clang
,
clang++
and flang
to compile C, C++ and Fortran codes respectively.
To find out the version of AOCC installed in HPCC, please run the following
command on a dev node.
1 |
|
Note
The AOCC compiler depends on the GCC toolchain as the compiler itself was compiled with GCC.
AOCL Libraries
AOCL are a set of numerical libraries specifically tuned for the AMD EPYC processor family. The version of the libraries installed were built with AOCC. All available versions of AOCL can be found by running the following command on a dev node.
1 |
|
Using AOCL on the new amd20 nodes is likely to provide better performance than using GCC compiled libraries (such as OpenBLAS, ScaLAPACK ...). User can find out how to use the libraries and the linkers from the AOCL User Guide.