Arm Compiler for HPC

See what's new in each release, and access the Release Notes for current and previous versions of Arm Compiler for HPC with Arm Performance Libraries.

To get the latest version, download the Arm Compiler for HPC package, and follow the steps in the installation instructions.

 

Arm Compiler for HPC

Version 18.3

Released: May 29, 2018

What's new in 18.3

New features and enhancements

  • Arm C/C++/Fortran Compiler 18.3:
    • Support for Fortran 2008 feature : Pointers to internal procedure and internal procedure passed as argument.
    • Automatic arrays can be allocated on the stack with -fstack-arrays flag.
  • Arm Performance Libraries 18.3:
    • Support for FFTW wisdom included for the first time.
    • Performance enhancements to FFTW functions: complex-to-complex and real-to-complex functions using both basic and advanced interfaces; some complex-to-real performance differences too.
    • Parallel performance improvements for S/D/C/ZTRSV and S/DTRMV.
    • New library, 'libamath', in the 'lib' directory for each microarchitecture for Arm Compiler builds.  This contains optimized versions of exp, pow and log functions in single and double precision.  For more information on libamath, see Getting started with Arm Performance Libraries.

Bug fixes

  • Arm HPC Compiler 18.3:
    • H-14 : Fixed two preprocessor issues. Transpose intrinsic is now supported during initialization.
    • H-58 : Fixed failure when a module variable was used to set real kind in two different functions.
    • H-61 : __ARM_ARCH macro is now defined in armflang compiler.
    • H-74 : Disabled generation of fmas at O0 in armflang. Matches armclang behaviour. Passes fp accuracy tests at O0.
    • H-86 : Fixed issue with capturing procedure pointers to OpenMP parallel regions, which was preventing the TeaLeaf mini-app from running correctly.
  • Arm Performance Libraries 18.3:
    • H-7: Nested parallelism performance improvements.

Known Issues

Arm Compiler 18.3:

  • H-105: The '-E' option to armflang does not work. This will be fixed in the next release.
  • H-114: Debugging arrays with negative lower bounds is not currently supported.

 

Release Note for Release History 18.3

Arm Compiler for HPC 18.3 suite provides a complete compiling environment, with Arm C/C++/Fortran Compiler and Arm Performance Libraries, to develop and tune your HPC applications on Armv8-A based SoCs. This release includes version 18.3 of the Arm Performance Libraries which provides Fortran compatibility with the Arm C/C++/Fortran Compiler. This release also includes GNU GCC 7.1 to provide an optimal experience on the latest Arm HPC systems when using the Arm Performance Libraries and GCC.

It contains the following packages:

  • Arm C/C++/Fortran Compiler 18.3
    Arm Compiler is a Linux user-space C/C++/Fortran compiler tailored for scientific computing, HPC and enterprise workloads. This release includes a number of enhancements and bug fixes.
  • Arm Performance Libraries 18.3
    The Arm Performance Libraries are optimized for AArch64 and for specific AArch64 implementations. These provide BLAS, LAPACK and FFT routines optimized for execution on 64-bit Arm. Please note that there are multiple libraries and module files available for this package. The user should load the most optimal library for their platform.

    This release includes multiple Arm Performance Libraries packages, each of which are optimized for individual Armv8 AArch64 implementations (Cortex-A57, Cortex-A72, Qualcomm Falkor, Cavium ThunderX and ThunderX2CN99). This release includes builds of the libraries which are compatible with GNU GCC 7.1 as well as the Arm Compiler. We recommend you use the version that matches your platform for the best performance. You can also use the generic AArch64 implementation by running:

    GCC 7.1.0 version:
    % module load Generic-AArch64/<OS>/<OS_Version>/gcc-7.1.0/<ARMPL_Name>/18.3

    Arm Compiler version:
    % module load Generic-AArch64/<OS>/<OS_Version>/arm-hpc-compiler-18.3/<ARMPL_Name>/18.3
  • GNU GCC 7.1
    A build of GNU's GCC 7.1 release is provided for convenience and for OpenMP/libgfortran compatibility with the Arm Performance Libraries. This is a GNU tool suite and the GPL source code can be downloaded separately.
    This build is not supported by Arm.

Changes in this Release

New features and enhancements:

  • Arm C/C++/Fortran Compiler 18.3:
    • Support for Fortran 2008 feature : Pointers to internal procedure and internal procedure passed as argument.
    • Automatic arrays can be allocated on the stack with -fstack-arrays flag.
  • Arm Performance Libraries 18.3:
    • Support for FFTW wisdom included for the first time.
    • Performance enhancements to FFTW functions: complex-to-complex and real-to-complex functions using both basic and advanced interfaces; some complex-to-real performance differences too.
    • Parallel performance improvements for S/D/C/ZTRSV and S/DTRMV.
    • New library, 'libamath', in the 'lib' directory for each microarchitecture for Arm Compiler builds.  This contains optimized versions of exp, pow and log functions in single and double precision.  For more information on libamath, see Getting started with Arm Performance Libraries.

Bug fixes:

  • Arm HPC Compiler 18.3:
    • H-14 : Fixed two preprocessor issues. Transpose intrinsic is now supported during initialization.
    • H-58 : Fixed failure when a module variable was used to set real kind in two different functions.
    • H-61 : __ARM_ARCH macro is now defined in armflang compiler.
    • H-74 : Disabled generation of fmas at O0 in armflang. Matches armclang behaviour. Passes fp accuracy tests at O0.
    • H-86 : Fixed issue with capturing procedure pointers to OpenMP parallel regions, which was preventing the TeaLeaf mini-app from running correctly.
  • Arm Performance Libraries 18.3:
    • H-7: Nested parallelism performance improvements.

Speculation Barrier Support

The Spectre v1 mitigation at https://github.com/ARM-software/speculation-barrier works with Arm Compiler for HPC 18.3. For further background info see https://developer.arm.com/support/security-update.

System Requirements

This suite is supported on the following Linux platforms:

  • AArch64 Redhat 7
  • AArch64 SUSE 12
  • AArch64 Ubuntu 16.04

Installation Instructions

To install the Arm Compiler for HPC suite, you should run the installation script as a privileged user:

% ./arm-compiler-for-hpc-18.3*.sh

The installer displays the EULA and prompts you to agree to the terms. Type 'yes' at the prompt to agree.

For headless installation, run the installer with the '--accept' command-line parameter to automatically accept the EULA.

To perform a local install, run the installer with the '--install-to <dir>' option.

All packages are unpacked to /opt/arm/<package_name> with environment module files available under /opt/arm/modulefiles. Extra documentation can be found, for each installed package, at /opt/arm/<package_name>/share/. Local installs have the same directory structure starting from the user's chosen installation root.

Once you have obtained a license file from Arm, follow these steps to make it available for use:

  1. Create a directory called 'licenses' within the /opt/arm directory and copy your client license file to it.
  2. If you are using Arm Forge or Arm Performance Reports, and you don't have a separate license for these tools, set the ALLINEA_LICENSE_DIR environment variable to point to /opt/arm/licenses.
  3. If you have a floating license, add the server license file to the machine where Arm Licence Server is installed. Create a directory called 'licenses' within the /opt/arm/licenceserver directory and copy your license file to it. Restart Arm Licence Server to pick up the new floating license.

Please refer to the Arm Allinea Studio licensing page on the Arm Developer website for more information about licensing.

RPMs

The installed packages are shipped as RPMs for RPM based Linux distributions. These RPMs are signed by Arm's HPC GPG key. The public key can be downloaded
from https://developer.arm.com/-/media/files/keys/GPG-PUB-KEY-ARM-HPC-SW-TOOLS.PUB. This key can be imported by running:

 

% rpm --import GPG-PUB-KEY-ARM-HPC-SW-TOOLS.PUB

Environment Modules

Each installed package has an Environment Module file installed under /opt/arm/modulefiles. You can add this directory to your ${MODULESHOME}/init/.modulespath file or to your $MODULEPATH environment variable. For example:

 

% # For SH or BASH shells:

% export MODULEPATH=$MODULEPATH:/opt/arm/modulefiles

Alternatively you can use the 'module use' command:

% module use /opt/arm/modulefiles

Once your environment has been configured to use the module files, use the 'module avail' command to list the available modules and the 'module load'
command to set up your environment to use them.

The main module file for this release is loaded by running:

% module load Generic-AArch64/<OS>/<OS_Version>/suites/<SUITE_Mod_Name>/18.3

This will load all of the modules belonging to the packages included with this product with the exception of the Arm Performance Libraries. You can also
module load the individual components:

  • Arm C/C++/Fortran Compiler 18.3:
    Generic-AArch64/<OS>/<OS_Version>/arm-hpc-compiler/18.3

  • Arm Performance Libraries 18.3:

    GCC 7.1.0 version:
    <Specific_Core>/<OS>/<OS_Version>/gcc-7.1.0/<ARMPL_Name>/18.3

    Arm C/C++/Fortran Compiler version:
    <Specific_Core>/<OS>/<OS_Version>/arm-hpc-compiler-18.3/<ARMPL_Name>/18.3

  • GNU GCC 7.1:
    Generic-AArch64/<OS>/<OS_Version>/gcc/7.1.0

More information about Environment Modules can be found at: http://modules.sourceforge.net

C Libraries

The compilers included with this suite are built to use the C Libraries provided by your linux distribution. If errors such as "ld: cannot find crt1.o" are reported, you will need to install the libraries on your system.

 

The package names for these libraries are:

SUSE and RHEL: glibc-devel

Ubuntu:        libc6-dev

Known Issues

Arm Compiler 18.3:

  • H-105: The '-E' option to armflang does not work. This will be fixed in the next release.
  • H-114: Debugging arrays with negative lower bounds is not currently supported.

Documentation

Refer to the following topics to get started with Arm Compiler for HPC and Arm Performance Libraries:


Refer to the Release History to see the changes between releases.

See further documentation about all the components.

If you require support please contact support-hpc-sw@arm.com.

Example Code

There is example code included in this suite as part of the Arm Performance Libraries. This code can be found at:

/opt/arm/<ARMPL_Name>*<ARMPL_Version>*/examples

You will need to copy this to a writeable directory and load both the Arm Compiler and Arm Performance Libraries environment modules for the examples to build. For example:

  1. Copy the examples somewhere writeable:
    % cp -r /opt/arm/<ARMPL_Name>-<ARMPL_Version>_Generic-AArch64_<OS>-<OS_Version>_arm-hpc-compiler_18.3_aarch64-linux/examples /some/writable/directory/examples
    % cd /some/writeable/directory/examples

  2. Load the correct environment modules:
    % module load Generic-AArch64/<OS>/<OS_Version>/suites/<SUITE_Mod_Name>/<SUITE_Version>
    % module load Generic-AArch64/<OS>/<OS_Version>/arm-hpc-compiler-18.3/<ARMPL_Name>/<ARMPL_Version>

  3. Build it:
    % make

Uninstalling

For convenience, this package includes an "uninstall.sh" script at: /opt/arm/arm-compiler-for-hpc-18.3*/uninstall.sh

This script attempts to uninstall all the packages supplied as part of this suite. Note that this may not be possible if other packages, outside of this suite, depend on them. You will need to uninstall the dependant packages as well.

Please note that, if you use the --install-to option provided by the installer, you will need to uninstall the packages by manually removing their directories.