Environment configuration

Prerequisites

Procedure

Use the following steps to load the Arm Performance Libraries module:

  1. Use this command to see which environment modules are available:

    module avail

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

    export MODULEPATH=$MODULEPATH:/opt/arm/modulefiles/
  2. Load the appropriate module for the compiler you are using.

    Note:

    • If you are using the Arm Compiler for HPC, it is recommended that you load the compiler module only.

    • If you are using gcc, you must load the specific Arm Performance Libraries module that you require.

    For example:

    module load Generic-AArch64/RHEL/7/arm-hpc-compiler/19.3

    If you prefer to use the gcc compiler, ensure that you load the correct module:

    module load Generic-AArch64/RHEL/7/gcc-8.2.0/armpl/19.3.0

    Tip: Consider adding the module load command to your .profile to run it automatically every time you log in.

  3. Check your environment using the following commands, according to the compiler you are using.

    Note: Ensure that the command contains the appropriate library directories from /opt/arm, which you installed during the installation procedure:

    Compiler Command
    armclang which armclang
    gcc which gcc

Previous Next