Download and install Arm Code Advisor

To download and install Arm Code Advisor:

  1. Login at using your Arm developer account. You can create one, if you do not have one.
    The Downloads home page appears. If not, click on the Downloads option in the Arm Self Service navigation pane on the left. 

  2. Expand the Development Tools option in the list of products available to you. Under Arm HPC Tools, select Arm Code Advisor.

  3. In the Public Downloads section, find the appropriate package for your Linux host platform and select Download Now.

  4. Extract the downloaded package:

    tar -xvf <package_name>

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

  5. Change directory to see the extracted files:

    cd <package_name>

  6. Run the installation script as a privileged user:

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

    Packages are unpacked to <install_dir>/opt/arm/<package_name>. Optionally, use the --install-to option to specify the install location:

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

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

  7. The installer displays the EULA and prompts you to agree to the terms. To agree, type 'yes' at the prompt.
    For more information about the release contents, see the release notes, located in the /opt/arm/<package_name>/share directory.

  8. Next, configure your Linux environment:

    : If Environment Modules are not already installed on your machine, see the top of our Environment configuration topic for instructions on how to install them.

    1. To see which Environment Modules are available, run:

      % module avail

      Note: You might need to configure the MODULEPATH environment variable to include the installation directory:

      % export MODULEPATH=$MODULEPATH:/opt/arm/modulefiles/
      Tip: Add the module load command to your .profile to run it automatically every time you log in.

    2. To configure your Linux environment to make Arm Code Advisor available:

      % module load <architecture>/<linux_variant>/<linux_version>/suites/arm-code-advisor/<version>

      For example:

      % module load Generic-AArch64/SUSE/12/suites/arm-code-advisor/1.2
    3. Check your environment by examining the PATH variable. It should contain the appropriate Arm Code Advisor bin directory from /opt/arm:

      % echo $PATH /opt/arm/arm-code-advisor-1.2_Generic-AArch64_SUSE-12_aarch64-linux/bin:...

      You can also use the which command to check that the Arm Code Advisor armcadvisor command is available:

      % which armcadvisor
      % armcadvisor --help
        armcadvisor [subcommand] [flags]
        armcadvisor [command]

For information about environment variables used by the Arm-provided suite of HPC tools, see our Environment variables reference topic.

Getting started

See our getting started tutorial to learn how to use Arm Code Advisor: