Install Intel oneAPI

Note:

If using Redhat 8.6 or Rockey 8.6 Linux, user should update kernel version to equal or more than 4.18.0-372.26.1. Otherwise,some Intel oneAPI toolkit will fail to install in the server.

Install Intel oneAPI Base Toolkit

Step 1: Download install file.

Step 2: Use $ sudo sh ./.sh to launch the GUI Installer as the root.

Step 3: Follow the instructions in the installer to finish the Intel oneAPI Base Toolkit installation.

note:

You can follow the instructions in https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html to install Intel oneAPI Base Toolkit on the management node according to your own needs.

 

Install Intel oneAPI HPC Toolkit

Step 1: Download install file.

Step 2: Use $ sudo sh ./.sh to launch the GUI Installer as the root.

Step 3: Follow the instructions in the installer to finish the Intel oneAPI HPC Toolkit installation.

note:

You can follow the instructions in https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit.html to install Intel oneAPI HPC Toolkit on the management node according to your own needs.

 

Install Intel oneAPI AI Analytics Toolkit

Step 1: Download install file.

Step 2: Use $ sudo sh ./.sh to launch the GUI Installer as the root.

Step 3: Follow the instructions in the installer to finish the Intel oneAPI AI Analytics Toolkit installation.

note:

Before install AI Analytics Toolkit,make sure intel oneAPI Base Toolkit installed. You can follow the instructions in https://software.intel.com/content/www/us/en/develop/tools/oneapi/ai-analytics-toolkit.html to install Intel oneAPI AI Analytics Toolkit on the management node according to your own needs.

 

Initialize modulefiles

Run the following commands to initialize modulefiles for LiCO on the management node:

Configure NFS

Please create a shared directory based on the upper directory of the oneapi installation path (task /opt/intel as an example):

Step 1: Manage node sharing /opt/intel for Intel oneAPI:

Step 2: Configure the shared directory:

Step 3: Mount shared directory

Step 4: change write permission for socwatch

Add module path

For Redhat, Rocky, CentOS Linux:

Add the LiCO module path on the login and compute nodes:

Run the following commands on the management node:

For Ubuntu Linux:

Add the LiCO module path on the login and compute nodes:

Sync module to LiCO database in management node:

 

Enable oneAPI in LiCO

Create oneAPI system runtime

Configure kernel parameter for Intel VTune

Configure VTune Backend Authentication

 

Install the Intel driver for Intel VTune

Install the software for Intel VTune

For Redhat,CentOS,Rocky Linux:

For Ubuntu Linux:

 

Run the following commands on the management node:

For Redhat, CentOS, Rockey Linux:

For Ubuntu Linux:

 

Configure kernel parameters for Intel GDB

 

For Ubuntu Linux:

For allow gdb attach to running process, the following commands need to be executed additionally.

Check

Run the following commands on the management node to check if the installation is successful:

Run the following commands on the management node to check whether the module is successfully configured:

Run the following commands on the management node to check whether the intel python is installed.

Run the following commands on the management node to check whether the Intel driver is installed.

Optional

VTune Platform Analysis trouble shooting:

1.For slurm scheduler, to allow non-root to login compute node, make sure configure user white list firstly

If the message "Cannot get the driver.Please check it" is displayed when you run the Platform Analysis of the administrator page,you can Run the following command to view the background logs.

If the following error occurs in the log,you need to add the current user to the slurm whitelist.

step1: Run the following commands on the management node, and share them with the compute node.

step2: Run the following commands on the compute nodes:

step3: Restart the following services

 

2.Ftrace issue

On the Linux Ftrace subsystem, located in the debugfs partition in /sys/kernel/debug/tracing, may be accessible for the root user only. In this case, the VTune Profiler provides an error message: Ftrace collection is not possible due to a lack of credentials. Root privileges are required.

 

To enable Ftrace events collection on such a system, you may change permissions manually by using the chown command under the root account, for example:

 

Or you can automate change the permissions by using VTune scripts:

 

Note: Each compute node should change permissions of /sys/kernel/debug/tracing.