Download and install Arm Code Advisor
To download and install Arm Code Advisor:
Login at https://silver.arm.com/browse 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.
Expand the Development Tools option in the list of products available to you. Under Arm HPC Tools, select Arm Code Advisor.
In the Public Downloads section, find the appropriate package for your Linux host platform and select Download Now.
Extract the downloaded package:
tar -xvf <package_name>
<package_name>with the full name of the downloaded package.
Change directory to see the extracted files:
Run the installation script as a privileged user:
% su root Password: ******** % ./<package_name>.sh
Packages are unpacked to
/opt/arm/<package_name>. Optionally, use the
--install-tooption 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 uninstall.sh helper script will not uninstall this type of installation.
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.
- Next, configure your Linux environment:
Note: 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.
To see which Environment Modules are available, run:
% module avail
Note: You might need to configure the
MODULEPATHenvironment 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.
To configure your Linux environment to make Arm Code Advisor available:
% module load <architecture>/<linux_variant>/<linux_version>/suites/arm-code-advisor/<version>
% module load Generic-AArch64/SUSE/12/suites/arm-code-advisor/1.2
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
whichcommand to check that the Arm Code Advisor
armcadvisorcommand is available:
% which armcadvisor /opt/arm/arm-code-advisor-1.2_Generic-AArch64_SUSE-12_aarch64-linux/bin/armcadvisor % armcadvisor --help Usage: 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.
See our getting started tutorial to learn how to use Arm Code Advisor: