Environment configuration
This section describes how to load the correct environment module for Arm Performance Libraries.
Before you begin
- Your administrator has installed Arm Performance Libraries as described in Arm Allinea Studio - Installation.
- The environment module has been made available, as described in Arm Allinea Studio - Configure.
Procedure
Use the following steps to load the Arm Performance Libraries module:
-
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/
-
Load the appropriate module for the microarchitecture, OS, and compiler that you are using.
Note:
- If you are using the Arm Compiler for Linux, 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-linux-compiler/20.3
If you prefer to use the gcc compiler, ensure that you load the correct module:
module load Generic-AArch64/RHEL/7/gcc-9.3.0/armpl/20.3
Tip: Consider adding the
module load
command to your.profile
to run it automatically every time you log in. -
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|armclang++|armflang which {armclang|armclang++|armflang}
gcc|gfortran which {gcc|gfortran}