AMD Zen Software Studio with Spack
- AMD Optimizing C/C++ Compiler (AOCC)
- AMD Optimizing CPU Libraries (AOCL)
- AMD uProf
- Setting Preference for AMD Zen Software Studio
Open MPI with AMD Zen Software Studio
Micro Benchmarks/Synthetic Benchmarks
Spack HPC Applications
Introduction
The AMD Optimizing C/C++ and Fortran Compilers (“AOCC”) are a set of production compilers optimized for software performance when running on AMD host processors using the AMD “Zen” core architecture. Supported processor families are AMD EPYC™, AMD Ryzen™, and AMD Ryzen™ Threadripper™ processors. The AOCC compiler environment simplifies and accelerates development and tuning for x86 applications built with C, C++, and Fortran languages.
Official Website: https://www.amd.com/en/developer/aocc.html
Installing AOCC via Spack
# Installation of AOCC
$ spack install aocc +license-agreed
# The compiler can be added to spack in two ways
# Add the installed compiler by providing the path
$ spack cd -i aocc
$ spack compiler add $PWD
# Add the installed compiler from the environment
$ spack load aocc
$ spack compiler find
Explanation of the command option
Symbol | Meaning |
---|---|
+license-agreed | Variant to accept AMD End User License Agreement for AOCC (Mandatory for AOCC installation) |
Supported AOCC Versions
AMD supports the following versions of AOCC usage in Spack:
- AOCC-5.0.0
- AOCC-4.2.0
- AOCC-4.1.0
- AOCC-4.0.0
- AOCC-3.2.0
Uninstalling AOCC
# Uninstallation of AOCC
$ spack uninstall aocc
# Removal of the compiler from compiler.yaml
$ spack compiler remove aocc