Extended Installation (BLAS)
BLAS acceleration is used to accelerate linear algebra operations involved in oneDNN. Replace the example paths provided in the following procedure with the actual ones.
- Obtain the ArmPL installation package.
- Download the ArmPL installation package.
https://developer.arm.com/-/media/Files/downloads/hpc/arm-performance-libraries/23-10/rhel-8/arm-performance-libraries_23.10_RHEL-8_gcc-10.4.tar
- Use an SFTP tool to upload the source package to the /path/to/ArmPL directory on the server.
If the server is connected to the Internet, you can run the wget command on the server to download the source package.
- Go to the /path/to/ArmPL directory.
cd /path/to/ArmPL
- Download the source package.
wget https://developer.arm.com/-/media/Files/downloads/hpc/arm-performance-libraries/23-10/rhel-8/arm-performance-libraries_23.10_RHEL-8_gcc-10.4.tar --no-check-certificate
- Download the ArmPL installation package.
- Go to the /path/to/ArmPL directory.
cd /path/to/ArmPL
- Create an installation directory.
mkdir install
- Decompress the ArmPL installation package.
tar -xvf arm-performance-libraries_23.10_RHEL-8_gcc-10.4.tar
- Go to the arm-performance-libraries_23.10_RHEL-8 directory.
cd arm-performance-libraries_23.10_RHEL-8
- Perform the installation.
./arm-performance-libraries_23.10_RHEL-8.sh -i /path/to/ArmPL/install -a
Parameter description:
- -i: Installation path of the ArmPL library.
- -a: Automatically accepts the End User License Agreement (EULA).
- Set the environment variable.
export MODULEPATH=$MODULEPATH:/path/to/ArmPL/install/modulefiles
- Load the module.
module load armpl/23.10.0_gcc-10.4
- Install oneDNN following the instructions in Basic Installation. Replace 7 with the following command to complete the oneDNN compilation and installation.
cmake -DCMAKE_INSTALL_PREFIX=/path/to/oneDNN-3.3.3/build/install/ -DONEDNN_BLAS_VENDOR=ARMPL ..
- After the installation is complete, run the following command to check whether libdnnl.so is linked to the SO file of the ArmPL library:
ldd /path/to/oneDNN-3.3.3/build/install/lib64/libdnnl.so
If the following information is displayed, libdnnl.so has been linked to the SO file of the ArmPL library.

Parent topic: Compiling the Source Code