Note:
- SPACK support is available beginning with AOCC 3.2.
- In the following procedure, the
<Version Number>inaocc@<Version Number>implies the AOCC version. For example, if you are installing AOCC 5.2.0, you must use aocc@5.2.0.
Installing AOCC in SPACK
Complete the following steps to install AOCC compiler in SPACK.
- Install
AOCC.
$ spack install -v aocc@<Version Number> +license-agreed - Add AOCC to the SPACK compiler
list.
$ spack cd -i aocc@<Version Number> $ spack compiler add $PWD $ spack cd -i aocc@<Version Number> $ spack compiler add $PWD - List all the available
compilers.
$ spack compilers
Uninstalling AOCC Compiler from SPACK
- Uninstall
AOCC.
$ spack uninstall aocc@<Version Number> - Remove the compiler from the compiler.yaml
file.
$ spack compiler remove aocc@<Version Number>
For more details on AOCC in SPACK, see the AOCC support web page.