Introduction

Use the following steps to download and install Arm Compiler for HPC, which includes:

  • Arm C/C++ Compiler
  • Arm Fortran Compiler
  • Arm Performance Libraries.



Install package

  1. Extract the downloaded package:

    tar -xvf <package_name>

    replacing <package_name> with the full name of the downloaded package.

  2. Change to the package directory to see the extracted files:

    cd <package_name>
  3. Run the installation script as a privileged user:

    su root Password: ******** ./<package_name>.sh

    Packages are unpacked to <install_dir>/opt/arm/<package_name>.

    Alternatively, if you do not have sudo rights or wish to install to a specific location, you can use the --install-to option:

    ./<package_name>.sh --install-to <install_dir>

    Note: This results in a user-only installation along with the relevant module files. The included uninstall.sh helper script does not uninstall this type of installation.

  4. The installer displays the EULA and prompts you to agree to the terms. To agree, type 'yes' at the prompt.



Get started with Arm Fortran Compiler

See Getting started with Arm Fortran Compiler which shows how to install and compile Fortran code using different optimizations levels, and generate an executable.


Get started with Arm Performance Libraries

See Getting started with Arm Performance Libraries which guides you through dynamically modifying your user environment on Linux using environment modules, and then performing an example program compilation and run.


Uninstalling

For convenience, this package includes a script that can be used to easily uninstall Arm Compiler and Libraries, uninstall.sh. This script is located in:

/opt/arm/arm-compiler-for-hpc-<release>/uninstall.sh

Run this script to uninstall all the packages supplied as part of this suite. You will need to uninstall any dependent packages outside of this suite, manually.

Notes:

  • If you used the --install-to option provided by the installer, you will need to uninstall the packages by manually removing their directories.

  • If you have multiple versions of Arm Compiler for HPC installed that depend on the same GCC version, running the uninstall.sh script will fail. Instead, remove the packages manually, using the Package Manager, or modify the script to prevent removal of the GCC package.