
# export LANG=en_US.UTF-8
# mkdir /home/Test
# cd /home/Test
# wget https://registrationcenter-download.intel.com/akdlm/irc_nas/19079/l_BaseKit_p_2023.0.0.25537_offline.sh
# ls -l l_BaseKit_p_2023.0.0.25537_offline.sh
-rw-r--r-- 1 root root 3189850178 Dec  9 05:40 l_BaseKit_p_2023.0.0.25537_offline.sh
# export LANG=en_US.UTF-8
# mkdir /home/Test
# cd /home/Test
# wget https://registrationcenter-download.intel.com/akdlm/irc_nas/19084/l_HPCKit_p_2023.0.0.25400_offline.sh
# ls -l l_HPCKit_p_2023.0.0.25400_offline.sh 
-rwxr-xr-x 1 root root 1643597321 12月  9 05:44 l_HPCKit_p_2023.0.0.25400_offline.sh
# sh l_BaseKit_p_2023.0.0.25537_offline.sh -a --list-components
Extract l_BaseKit_p_2023.0.0.25537_offline to /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
[##############################################################################]
Extract l_BaseKit_p_2023.0.0.25537_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
ID                                  Version        Installed Name
===================================================================================================================
intel.oneapi.lin.dpcpp-ct           2023.0.0-25483 false     Intel® DPC++ Compatibility Tool
intel.oneapi.lin.dpcpp_dbg          2023.0.0-25336 false     Intel® Distribution for GDB*
intel.oneapi.lin.dpl                2022.0.0-25335 false     Intel® oneAPI DPC++ Library
intel.oneapi.lin.tbb.devel          2021.8.0-25334 false     Intel® oneAPI Threading Building Blocks
intel.oneapi.lin.ccl.devel          2021.8.0-25371 false     Intel® oneAPI Collective Communications Library
intel.oneapi.lin.dpcpp-cpp-compiler 2023.0.0-25370 false     Intel® oneAPI DPC++/C++ Compiler
 └─intel.oneapi.lin.dpl             2022.0.0-25335 false      └─Intel® oneAPI DPC++ Library
intel.oneapi.lin.dal.devel          2023.0.0-25395 false     Intel® oneAPI Data Analytics Library
intel.oneapi.lin.vpl                2023.0.0-25332 false     Intel® oneAPI Video Processing Library
intel.oneapi.lin.ipp.devel          2021.7.0-25396 false     Intel® Integrated Performance Primitives
intel.oneapi.lin.ippcp.devel        2021.6.3-25343 false     Intel® Integrated Performance Primitives Cryptography
intel.oneapi.lin.mkl.devel          2023.0.0-25398 false     Intel® oneAPI Math Kernel Library
intel.oneapi.lin.advisor            2023.0.0-25338 false     Intel® Advisor
intel.oneapi.lin.vtune              2023.0.0-25339 false     Intel® VTune™ Profiler
intel.oneapi.lin.dnnl               2023.0.0-25399 false     Intel® oneAPI Deep Neural Network Library
 └─intel.oneapi.lin.tbb.devel       2021.8.0-25334 false      └─Intel® oneAPI Threading Building Blocks
Remove extracted files: /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
# sh l_HPCKit_p_2023.0.0.25400_offline.sh -a --list-components
Extract l_HPCKit_p_2023.0.0.25400_offline to /home/Test/l_HPCKit_p_2023.0.0.25400_offline...
[##############################################################################]
Extract l_HPCKit_p_2023.0.0.25400_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
ID                                      Version        Installed Name                                                           
================================================================================================================================
intel.oneapi.lin.inspector              2023.0.0-25340 false     Intel® Inspector                                               
intel.oneapi.lin.itac                   2021.8.0-25341 false     Intel® Trace Analyzer and Collector                            
intel.oneapi.lin.clck                   2021.7.2-25333 false     Intel® Cluster Checker                                         
intel.oneapi.lin.mpi.devel              2021.8.0-25329 false     Intel® MPI Library                                             
intel.oneapi.lin.dpcpp-cpp-compiler-pro 2023.0.0-25370 false     Intel® oneAPI DPC++/C++ Compiler & Intel® C++ Compiler Classic 
intel.oneapi.lin.ifort-compiler         2023.0.0-25370 false     Intel® Fortran Compiler & Intel® Fortran Compiler Classic      
Remove extracted files: /home/Test/l_HPCKit_p_2023.0.0.25400_offline...
# sh l_BaseKit_p_2023.0.0.25537_offline.sh -a -s --eula accept \
	--components intel.oneapi.lin.dpcpp-ct \
	:intel.oneapi.lin.dpcpp_dbg \
        :intel.oneapi.lin.dpl \
        :intel.oneapi.lin.tbb.devel \
        :intel.oneapi.lin.ccl.devel \
        :intel.oneapi.lin.dpcpp-cpp-compiler \
	:intel.oneapi.lin.dpl \
        :intel.oneapi.lin.dal.devel \
        :intel.oneapi.lin.vpl \
        :intel.oneapi.lin.ipp.devel \
        :intel.oneapi.lin.ippcp.devel \
        :intel.oneapi.lin.mkl.devel \
        :intel.oneapi.lin.advisor \
        :intel.oneapi.lin.dnnl \
        :intel.oneapi.lin.tbb.devel
Extract l_BaseKit_p_2023.0.0.25537_offline to /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
[##############################################################################]
Extract l_BaseKit_p_2023.0.0.25537_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
Please try re-running this application under the user who has performed the installation.
This installer is not supposed to be started under sudo/root.
Intel® Graphics Compute Runtime for OpenCL™ not found.
You have no relevant GPU driver. If you are going to develop and run GPU-accelerated applications on this system, please check the installation guide for instructions on the GPU drivers here: https://www.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/prerequisites/install-intel-gpu-drivers.html
Otherwise, you can ignore the warning and continue the installation as is: the product can still be used with CPU.
Start installation flow...
Installed Location: /opt/intel/oneapi
Log files: /tmp/root/intel_oneapi_installer/2023.03.17.12.54.19.311
Installation has successfully completed
Remove extracted files: /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
# sh l_HPCKit_p_2023.0.0.25400_offline.sh  -a -s --eula accept \
	--components intel.oneapi.lin.inspector \
	:intel.oneapi.lin.itac \
	:intel.oneapi.lin.clck \
	:intel.oneapi.lin.mpi.devel \
	:intel.oneapi.lin.dpcpp-cpp-compiler-pro \
	:intel.oneapi.lin.ifort-compiler
Extract l_HPCKit_p_2023.0.0.25400_offline to /home/Test/l_HPCKit_p_2023.0.0.25400_offline...
[##############################################################################]
Extract l_HPCKit_p_2023.0.0.25400_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
Please try re-running this application under the user who has performed the installation.
This installer is not supposed to be started under sudo/root.
Start installation flow...
Installed Location: /opt/intel/oneapi
Log files: /tmp/root/intel_oneapi_installer/2023.03.29.14.05.34.238
Installation has successfully completed
Remove extracted files: /home/Test/l_HPCKit_p_2023.0.0.25400_offline...
# sh l_BaseKit_p_2023.0.0.25537_offline.sh -a --list-components
Extract l_BaseKit_p_2023.0.0.25537_offline to /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
[##############################################################################]
Extract l_BaseKit_p_2023.0.0.25537_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
ID                                  Version        Installed Name                                                  
===================================================================================================================
intel.oneapi.lin.dpcpp-ct           2023.0.0-25483 true      Intel® DPC++ Compatibility Tool                       
intel.oneapi.lin.dpcpp_dbg          2023.0.0-25336 true      Intel® Distribution for GDB*                          
intel.oneapi.lin.dpl                2022.0.0-25335 true      Intel® oneAPI DPC++ Library                           
intel.oneapi.lin.tbb.devel          2021.8.0-25334 true      Intel® oneAPI Threading Building Blocks               
intel.oneapi.lin.ccl.devel          2021.8.0-25371 true      Intel® oneAPI Collective Communications Library       
intel.oneapi.lin.dpcpp-cpp-compiler 2023.0.0-25370 true      Intel® oneAPI DPC++/C++ Compiler                      
 └─intel.oneapi.lin.dpl             2022.0.0-25335 true       └─Intel® oneAPI DPC++ Library                        
intel.oneapi.lin.dal.devel          2023.0.0-25395 true      Intel® oneAPI Data Analytics Library                  
intel.oneapi.lin.vpl                2023.0.0-25332 true      Intel® oneAPI Video Processing Library                
intel.oneapi.lin.ipp.devel          2021.7.0-25396 true      Intel® Integrated Performance Primitives              
intel.oneapi.lin.ippcp.devel        2021.6.3-25343 true      Intel® Integrated Performance Primitives Cryptography 
intel.oneapi.lin.mkl.devel          2023.0.0-25398 true      Intel® oneAPI Math Kernel Library                     
intel.oneapi.lin.advisor            2023.0.0-25338 true      Intel® Advisor                                        
intel.oneapi.lin.vtune              2023.0.0-25339 false     Intel® VTune™ Profiler                             
intel.oneapi.lin.dnnl               2023.0.0-25399 true      Intel® oneAPI Deep Neural Network Library             
 └─intel.oneapi.lin.tbb.devel       2021.8.0-25334 true       └─Intel® oneAPI Threading Building Blocks            
Remove extracted files: /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
# sh l_HPCKit_p_2023.0.0.25400_offline.sh -a --list-components
Extract l_HPCKit_p_2023.0.0.25400_offline to /home/Test/l_HPCKit_p_2023.0.0.25400_offline...
[##############################################################################]
Extract l_HPCKit_p_2023.0.0.25400_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
ID                                      Version        Installed Name                                                           
================================================================================================================================
intel.oneapi.lin.inspector              2023.0.0-25340 true      Intel® Inspector                                               
intel.oneapi.lin.itac                   2021.8.0-25341 true      Intel® Trace Analyzer and Collector                            
intel.oneapi.lin.clck                   2021.7.2-25333 true      Intel® Cluster Checker                                         
intel.oneapi.lin.mpi.devel              2021.8.0-25329 true      Intel® MPI Library                                             
intel.oneapi.lin.dpcpp-cpp-compiler-pro 2023.0.0-25370 true      Intel® oneAPI DPC++/C++ Compiler & Intel® C++ Compiler Classic 
intel.oneapi.lin.ifort-compiler         2023.0.0-25370 true      Intel® Fortran Compiler & Intel® Fortran Compiler Classic      
Remove extracted files: /home/Test/l_HPCKit_p_2023.0.0.25400_offline...
# dnf --disablerepo="*" --enablerepo="rocky-8.4-updates-media-AppStream rocky-8.4-updates-media-BaseOS" install cmake pkgconfig
# dnf --disablerepo="*" --enablerepo="rocky-8.4-updates-media-AppStream rocky-8.4-updates-media-BaseOS" groupinstall "Development Tools"
$ sudo apt update
$ sudo apt -y install cmake pkg-config build-essential
$ source /setvars.sh
$ bash -c ‘source /setvars.sh; exec csh’
 
source /opt/intel/oneapi/setvars.csh
# chmod 755 env2
# echo  '#!/bin/tcsh' > setvars.csh
# perl ./env2 -from bash -to tcsh /opt/intel/oneapi/setvars.sh >> setvars.csh
# sh l_BaseKit_p_2023.0.0.25537_offline.sh -a -s --cli  --action remove
Extract l_BaseKit_p_2023.0.0.25537_offline to /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
[##############################################################################]
Extract l_BaseKit_p_2023.0.0.25537_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
Please try re-running this application under the user who has performed the installation.
This installer is not supposed to be started under sudo/root.
Start installation flow...
Log files: /tmp/root/intel_oneapi_installer/2023.03.17.14.48.41.728
Removal has successfully completed
Remove extracted files: /home/Test/l_BaseKit_p_2023.0.0.25537_offline...
# uname -r
5.10.152-rt75-RedHawk-8.4.4-debug
# export LANG=en_US.UTF-8
# cd /lib/modules/`uname -r`/build
# ./ccur-config -c -n
Note: Do not use the -c option for building a new kernel;
      it should only be used for building driver modules.
Autodetected currently running kernel flavor: debug
Using configuration: configs/x86_64/debug
Make invocation arguments: 'REDHAWKFLAVOR=-debug'
Backing up existing .config to .config.bak
	:
	:
Configuring version: 5.10.152-rt75-RedHawk-8.4.4-debug
Preparing configuration for a debug kernel...
Linking vmlinux to /boot/vmlinux-5.10.152-rt75-RedHawk-8.4.4-debug
Creating Module.symvers...
Note: Be sure to supply 'REDHAWKFLAVOR=-debug' on all subsequent
      make invocations to build modules for the running kernel.
Configuration complete.
# sh l_BaseKit_p_2023.0.0.25537_offline.sh -a -s --eula accept --components intel.oneapi.lin.vtune
# cd /
# patch -p0 < /tmp/vtune.patch
patching file /opt/intel/oneapi/vtune/2023.0.0/sepdk/src/insmod-sep
patching file /opt/intel/oneapi/vtune/2023.0.0/sepdk/src/rmmod-sep
patching file /opt/intel/oneapi/vtune/2023.0.0/sepdk/src/build-driver
patching file /opt/intel/oneapi/vtune/2023.0.0/sepdk/src/socwatch/socwatch_driver/src/sw_trace_notifier_provider.c
# cd /opt/intel/oneapi/vtune/2023.0.0/sepdk/src
# ./rmmod-sep 
Removing sep5 driver from the kernel ... done.
The sep5 driver has been successfully unloaded.
Removing vtsspp driver from the kernel ... done.
The vtsspp driver has been successfully unloaded.
Removing socwatch2_15 driver from the kernel ... done.
The socwatch2_15 driver has been successfully unloaded.
Removing socperf3 driver from the kernel ... done.
The socperf3 driver has been successfully unloaded.
No driver needs PMU arbitration anymore: the PAX service can be safely unloaded.
Attempting to stop PAX service ...
Removing pax driver from the kernel ... done.
The pax driver has been successfully unloaded.
PAX service has been stopped.
# ./build-driver 
C compiler to use: [ /bin/gcc ]Enter 
C compiler version: 8.5.0
Make command to use: [ /bin/make ]Enter 
Make version: 4.2.1
Kernel source directory: [ /lib/modules/5.10.152-rt75-RedHawk-8.4.4-debug/build ]Enter 
Kernel version: 5.10.152-rt75-RedHawk-8.4.4-debug
Cleaning workspaces ... 
Done
Building socperf driver ... 
Done
Building sep driver ... 
/opt/intel/oneapi/vtune/2023.0.0/sepdk/src/sys64.o: warning: objtool: SYS_Get_GDT_Base()+0x3: 'naked' return found in RETHUNK build
/opt/intel/oneapi/vtune/2023.0.0/sepdk/src/sys64.o: warning: objtool: SYS_IO_Delay()+0x0: 'naked' return found in RETHUNK build
Done
Building pax driver ... 
Done
Building vtsspp driver ... 
make[1]: Entering directory '/opt/intel/oneapi/vtune/2023.0.0/sepdk/src/vtsspp'
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2023.0.0/sepdk/src/vtsspp'
Done
Building socwatch driver ... 
Building drivers for Linux target
	:
	:
make[2]: Leaving directory '/usr/src/linux-5.10.152RedHawk8.4.4'
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2023.0.0/sepdk/src/socwatch/socwatch_driver'
************ Built drivers are copied to /opt/intel/oneapi/vtune/2023.0.0/sepdk/src/socwatch/drivers directory ************
Done
Done building the drivers
# ./insmod-sep 
PYTHON is set to python3
Detecting Secure Boot status...
Failed to detect Secure Boot status
---------------------    Loading PAX driver    --------------------- 
Detecting Secure Boot status...
Failed to detect Secure Boot status
Checking for PMU arbitration service (PAX) ... not detected.
Attempting to start PAX service ...
Executing: insmod ./pax/pax-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The pax driver has been successfully loaded.
---------------------  Loading SOCPERF driver  --------------------- 
Detecting Secure Boot status...
Failed to detect Secure Boot status
Checking for socperf driver ... not detected.
Attempting to start socperf service ...
Executing: insmod ./socperf/src/socperf3-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The socperf3 driver has been successfully loaded.
---------------------    Loading SEP driver    --------------------- 
Executing: insmod ./sep5-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko sym_lookup_func_addr="ffffffffba1f37d0"
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The sep5 driver has been successfully loaded.
---------------------  Loading VTSSPP driver  --------------------- 
Checking for vtsspp driver ... not detected.
Executing: insmod ./vtsspp/vtsspp-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko gid=1004 mode=0660 ksyms="ffffffffba1f37d0"
The vtsspp driver has been successfully loaded.
--------------------- Loading SOCWATCH driver --------------------- 
Checking for socwatch driver ... not detected.
Executing: insmod ./socwatch/drivers/socwatch2_15-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko
Setting group ownership of device file to group "vtune" ... done.
Setting file permissions of device file to "660" ... done.
The socwatch driver has been successfully loaded.
NOTE:
The driver is accessible only to users under the group vtune.
Please add the users to the group 'vtune' to use the tool.
To change driver access group, reinstall the driver using -g <desired_group> option.
NOTE:
The driver is accessible only to users under the group vtune.
Please add the users to the group vtune to use the tool.
To change driver access group, reload the driver using -g <desired_group> option.
# ./insmod-sep -q
pax driver is loaded and owned by group "vtune" with file permissions "660".
socperf3 driver is loaded and owned by group "vtune" with file permissions "660".
sep5 driver is loaded and owned by group "vtune" with file permissions "660".
socwatch driver is loaded and owned by group "vtune" with file permissions "660".
vtsspp driver is loaded and owned by group "vtune" with file permissions "660".
# systemctl status sep5.service -l
● sep5.service - systemd script to load sep5 driver at boot time
   Loaded: loaded (/usr/lib/systemd/system/sep5.service; enabled; vendor preset: disabled)
   Active: active (exited) since Fri 2023-03-24 11:15:28 JST; 3h 11min ago
  Process: 1119 ExecStart=/usr/local/sbin/sep5-load.sh start (code=exited, status=0/SUCCESS)
 Main PID: 1119 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 298928)
   CGroup: /system.slice/sep5.service
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1700]: The socwatch driver has been successfully loaded.
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1700]: NOTE:
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1700]: The driver is accessible only to users under the group vtune.
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1700]: Please add the users to the group 'vtune' to use the tool.
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1700]: To change driver access group, reinstall the driver using -g <desired_group> option.
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1130]: NOTE:
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1130]: The driver is accessible only to users under the group vtune.
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1130]: Please add the users to the group vtune to use the tool.
Mar 24 11:15:28 localhost.localdomain sep5-load.sh[1130]: To change driver access group, reload the driver using -g <desired_group> option.
Mar 24 11:15:28 localhost.localdomain systemd[1]: Started systemd script to load sep5 driver at boot time.
# vtune-self-checker.sh 
Intel(R) VTune™ Profiler Self Check Utility
Copyright (C) 2009 Intel Corporation. All rights reserved.
Build Number: 624757
HW event-based analysis (counting mode) (Intel driver)   
Example of analysis types: Performance Snapshot
    Collection: Ok
    Finalization: Ok...
    Report: Ok
Instrumentation based analysis check   
Example of analysis types: Hotspots and Threading with user-mode sampling
    Collection: Ok
    Finalization: Ok...
    Report: Ok
HW event-based analysis check (Intel driver)   
Example of analysis types: Hotspots with HW event-based sampling, HPC Performance Characterization, etc.
    Collection: Ok
vtune: Warning: To enable hardware event-based sampling, VTune Profiler has disabled the NMI watchdog timer. The watchdog timer will be re-enabled after collection completes.
Warning: PMU counter(s) [GP3 ] is (are) already in use by other software and the data collected on these counter(s) may be incorrect
    Finalization: Ok...
    Report: Ok
HW event-based analysis check (Intel driver)   
Example of analysis types: Microarchitecture Exploration
    Collection: Ok
vtune: Warning: To enable hardware event-based sampling, VTune Profiler has disabled the NMI watchdog timer. The watchdog timer will be re-enabled after collection completes.
Warning: PMU counter(s) [GP3 ] is (are) already in use by other software and the data collected on these counter(s) may be incorrect
    Finalization: Ok...
    Report: Ok
HW event-based analysis with uncore events (Intel driver)   
Example of analysis types: Memory Access
    Collection: Ok
vtune: Warning: To enable hardware event-based sampling, VTune Profiler has disabled the NMI watchdog timer. The watchdog timer will be re-enabled after collection completes.
Warning: PMU counter(s) [GP3 ] is (are) already in use by other software and the data collected on these counter(s) may be incorrect
    Finalization: Ok...
    Report: Ok
HW event-based analysis with stacks (Perf)   
Example of analysis types: Hotspots with HW event-based sampling and call stacks
    Collection: Ok
vtune: Warning: To profile kernel modules during the session, make sure they are available in the /lib/modules/kernel_version/ location.
    Finalization: Ok...
vtune: Warning: Cannot read load addresses of sections from `/sys/module/nvidia-uvm/sections'. This may affect the correctness of symbol resolution for `/lib/modules/5.10.152-rt75-RedHawk-8.4.4-debug/kernel/drivers/video/nvidia-glx/nvidia-uvm/nvidia-uvm.ko'. Make sure this directory exists and all files in this directory have read permissions.
    Report: Ok
HW event-based analysis with context switches (Intel driver)   
Example of analysis types: Threading with HW event-based sampling
    Collection: Ok
vtune: Warning: To enable hardware event-based sampling, VTune Profiler has disabled the NMI watchdog timer. The watchdog timer will be re-enabled after collection completes.
    Finalization: Ok...
    Report: Ok
Checking DPC++ application as prerequisite for GPU analyses: Fail
Unable to run DPC++ application on GPU connected to this system. If you are using an Intel GPU and want to verify profiling support for DPC++ applications, check these requirements:
* Install Intel(R) GPU driver.
* Install Intel(R) Level Zero GPU runtime.
* Install Intel(R) oneAPI DPC++ Runtime and set the environment.
The system is ready to be used for performance analysis with Intel VTune Profiler.
Review warnings in the output above to find product limitations, if any.
The system is ready for the following analyses:
* Performance Snapshot
* Hotspots and Threading with user-mode sampling
* Hotspots with HW event-based sampling, HPC Performance Characterization, etc.
* Microarchitecture Exploration
* Memory Access
* Hotspots with HW event-based sampling and call stacks
* Threading with HW event-based sampling
The following analyses have failed on the system:
* GPU Compute/Media Hotspots (characterization mode)
* GPU Compute/Media Hotspots (source analysis mode)
Log location: /tmp/vtune-tmp-root/self-checker-2023.03.29_11.30.51/log.txt
# /usr/local/sbin/sep5-load.sh start
Unloading sep5 driver: 
Removing sep5 driver from the kernel ... done.
The sep5 driver has been successfully unloaded.
Removing vtsspp driver from the kernel ... done.
The vtsspp driver has been successfully unloaded.
Removing socwatch2_15 driver from the kernel ... done.
The socwatch2_15 driver has been successfully unloaded.
Removing socperf3 driver from the kernel ... done.
The socperf3 driver has been successfully unloaded.
No driver needs PMU arbitration anymore: the PAX service can be safely unloaded.
Attempting to stop PAX service ...
Removing pax driver from the kernel ... done.
The pax driver has been successfully unloaded.
PAX service has been stopped.
# /usr/local/sbin/sep5-load.sh start
Loading the sep5 driver: 
PYTHON is set to python3
Detecting Secure Boot status...
Failed to detect Secure Boot status
---------------------    Loading PAX driver    --------------------- 
Detecting Secure Boot status...
Failed to detect Secure Boot status
Checking for PMU arbitration service (PAX) ... not detected.
Attempting to start PAX service ...
Executing: insmod ./pax/pax-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The pax driver has been successfully loaded.
---------------------  Loading SOCPERF driver  --------------------- 
Detecting Secure Boot status...
Failed to detect Secure Boot status
Checking for socperf driver ... not detected.
Attempting to start socperf service ...
Executing: insmod ./socperf/src/socperf3-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The socperf3 driver has been successfully loaded.
---------------------    Loading SEP driver    --------------------- 
Executing: insmod ./sep5-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko sym_lookup_func_addr="ffffffff861f37d0"
Setting group ownership of devices to group "vtune" ... done.
Setting file permissions on devices to "660" ... done.
The sep5 driver has been successfully loaded.
---------------------  Loading VTSSPP driver  --------------------- 
Checking for vtsspp driver ... not detected.
Executing: insmod ./vtsspp/vtsspp-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko gid=1004 mode=0660 ksyms="ffffffff861f37d0"
The vtsspp driver has been successfully loaded.
--------------------- Loading SOCWATCH driver --------------------- 
Checking for socwatch driver ... not detected.
Executing: insmod ./socwatch/drivers/socwatch2_15-x32_64-5.10.152-rt75-RedHawk-8.4.4-debugsmp.ko
Setting group ownership of device file to group "vtune" ... done.
Setting file permissions of device file to "660" ... done.
The socwatch driver has been successfully loaded.
NOTE:
The driver is accessible only to users under the group vtune.
Please add the users to the group 'vtune' to use the tool.
To change driver access group, reinstall the driver using -g  option.
NOTE:
The driver is accessible only to users under the group vtune.
Please add the users to the group vtune to use the tool.
To change driver access group, reload the driver using -g  option.
  
使用法: vtune <-action> [-action-option] [-global-option] [[--] target [target options]]
 
 特定のアクションのヘルプについては、「vtune -help <アクション>」と入力してください。
 
利用可能なアクション:
 
    collect		分析タイプを選択します。
    collect-with	コレクターを選択します。
    command		実行中のコレクションにコマンドを発行します。
    finalize		結果を再ファイナライズします。
    help		ヘルプ テキストを表示します。
    import		1 つまたは複数のレガシー データ ファイル/ディレクトリをインポートして、結果ディレクトリを作成します。
    report		指定された名前でレポートを生成します。
    version		製品のバージョンを表示します。
追加ツール:
 
    アプリケーション パフォーマンスのスナップショット
 
       Application Performance Snapshot を使用して、MPI ベースのアプリケーションをプロファイリングし、MPI 固有のパフォーマンスに関する洞察を取得します。
       aps --help と入力して、関連するオプションを表示します。
 
    VTune プロファイラー サーバー
 
       インテル VTune プロファイラー・サーバーを使用して、収集した結果を Web ブラウザーで表示し、VNC や X 転送よりも優れたユーザー エクスペリエンスを実現します。
       vtune-backend --data-directory=/path/to/folder/with/collected/results と入力します。
 
    セルフチェッカースクリプト
 
       このスクリプトは、VTune プロファイラーが正しくインストールされているかどうかをチェックし、使用できる状態であることを確認します。
       vtune-self-checker.sh と入力して、このスクリプトを実行します。
 
    プラットフォーム プロファイラ
 
       パフォーマンスに影響するシステム レベルのボトルネックと構成の問題を特定します。
       詳細については、Get Started Guide (<vtune install dir>vpp/server/docs/quick-start/get_started.htm) を参照してください。
 
例:
 
 1) パフォーマンスのスナップショットから始めます。潜在的なパフォーマンスの問題の概要を簡単に把握できます。より深い分析のための次のステップを特定します。
 
    vtune -collect performance-snapshot a.out
 
 2) 指定されたターゲットでホットスポット コレクションを (ユーザー モード サンプリングで) 実行します。
 
    vtune -collect hotspots a.out
 
 3) デフォルト以外のサンプリング間隔 0.5 ミリ秒でホットスポット コレクション (ハードウェア イベント ベースのサンプリング) を実行します。
 
    vtune -collect hotspots -knob sampling-mode=hw -knob sampling-interval=0.5 a.out
 
 4) 結果が含まれる「r000hs」ディレクトリのホットスポット レポートを生成します。
 
    vtune -report hotspots -r r000hs
 
 5) IP アドレス 192.0.2.0 のリモート ターゲットで「vtune_user」としてマイクロアーキテクチャ探索分析を実行します。
 
    vtune -target-system ssh:vtune_user@192.0.2.0 -collect uarch-exploration a.out
 
 6) 20 秒間のメモリ アクセス分析を使用してシステムをプロファイルします。
 
     vtune -collect memory-access -d 20
 
 7) PID 1234 というラベルの付いたプロセスで gpu-hotspots コレクションを実行します。
 
    vtune -collect gpu-hotspots -target-pid 1234
 
 8) Intel MPI Launcher で実行された MPI アプリケーション 'a.out' で HPC パフォーマンス特性解析を実行します。
 
    mpirun -n 48 -ppn 24 vtune -collect hpc-performance -data-limit=0 -r my_result_dir a.out
 
 9) collect コマンドのオプションを表示します。
 
    vtune -help collect
 
 10) スレッド解析のオプションを表示:
 
    vtune -help collect threading
vtune: Warning: To enable hardware event-based sampling, VTune Profiler has disabled the NMI watchdog timer. The watchdog timer will be re-enabled after collection completes.
Warning: PMU counter(s) [GP3 ] is (are) already in use by other software and the data collected on these counter(s) may be incorrect
vtune: Collection started. To stop the collection, either press CTRL-C or enter from another console window: vtune -r /home/UnixBench/r000hs -command stop.
Calibrate
       0.00 Seconds          1   Passes (x 100)
       0.01 Seconds          5   Passes (x 100)
       0.03 Seconds         25   Passes (x 100)
       0.16 Seconds        125   Passes (x 100)
       0.81 Seconds        625   Passes (x 100)
Use 7700  passes (x 100)
          Double Precision C/C++ Whetstone Benchmark
Loop content                  Result              MFLOPS      MOPS   Seconds
N1 floating point     -1.12398255667392055      1227.470              0.120
N2 floating point     -1.12187079889290509      1337.149              0.774
N3 if then else        1.00000000000000000               33095.931    0.024
N4 fixed point        12.00000000000000000               414190.557    0.006
N5 sin,cos etc.        0.49902937281510901                 291.389    2.199
N6 floating point      0.99999987890802811       883.782              4.700
N7 assignments         3.00000000000000000               83335.871    0.017
N8 exp,sqrt etc.       0.75100163018453681                 133.332    2.148
MWIPS                                           7709.370              9.988
COUNT|7709.370|0|MWIPS
TIME|9.988
/etc/centos-release is a symlink. Please provide the file with actual path
vtune: Collection stopped.
vtune: Using result path `/home/UnixBench/r000hs'
vtune: Executing actions 75 % Generating a report                              Elapsed Time: 12.199s
    CPU Time: 12.058s
        Effective Time: 12.058s
        Spin Time: 0s
        Overhead Time: 0s
    Instructions Retired: 28,049,400,000
    Microarchitecture Usage: 16.7% of Pipeline Slots
     | You code efficiency on this platform is too low.
     | 
     | Possible cause: memory stalls, instruction starvation, branch
     | misprediction or long latency instructions.
     | 
     | Next steps: Run Microarchitecture Exploration analysis to identify the
     | cause of the low microarchitecture usage efficiency.
     |
        CPI Rate: 1.544
         | The CPI may be too high. This could be caused by issues such as
         | memory stalls, instruction starvation, branch misprediction or long
         | latency instructions. Explore the other hardware-related metrics to
         | identify what is causing high CPI.
         |
    Total Thread Count: 1
    Paused Time: 0s
Top Hotspots
Function        Module            CPU Time  % of CPU Time(%)
--------------  ----------------  --------  ----------------
p3              whetstone-double    4.997s             41.4%
whetstones      whetstone-double    2.332s             19.3%
__libm_log_l9   whetstone-double    1.090s              9.0%
pa              whetstone-double    0.830s              6.9%
__libm_atan_l9  whetstone-double    0.767s              6.4%
[Others]        N/A                 2.041s             16.9%
Effective CPU Utilization: 24.7%
 | The metric value is low, which may signal a poor logical CPU cores
 | utilization caused by load imbalance, threading runtime overhead, contended
 | synchronization, or thread/process underutilization. Explore sub-metrics to
 | estimate the efficiency of MPI and OpenMP parallelism or run the Locks and
 | Waits analysis to identify parallel bottlenecks for other parallel runtimes.
 |
    Average Effective CPU Utilization: 0.988 out of 4
Collection and Platform Info
    Application Command Line: pgms/whetstone-double 
    User Name: root
    Operating System: 5.10.152-rt75-RedHawk-8.4.4-debug NAME="RedHawk Linux" VERSION="8.4 (Hadron)" ID="redhawk" ID_LIKE="rhel centos fedora" CPE_NAME="cpe:/o:ccur:redhawk:8.4" VERSION_ID="8.4" PRETTY_NAME="RedHawk Linux 8.4 (Hadron)" ANSI_COLOR="0;31" HOME_URL="http://www.concurrent-rt.com/" SUPPORT_URL="http://www.concurrent-rt.com/customer-support/" BUG_REPORT_URL="http://www.concurrent-rt.com/support/"  PLATFORM_ID="platform:el8" ROCKY_SUPPORT_PRODUCT="Rocky Linux" ROCKY_SUPPORT_PRODUCT_VERSION="8"
    Computer Name: localhost.localdomain
    Result Size: 49.9 MB 
    Collection start time: 01:37:20 29/03/2023 UTC
    Collection stop time: 01:37:32 29/03/2023 UTC
    Collector Type: Event-based sampling driver
    CPU
        Name: Intel(R) Xeon(R) Processor code named Skylake
        Frequency: 3.592 GHz
        Logical CPU Count: 4
        LLC size: 17.3 MB 
        Cache Allocation Technology
            Level 2 capability: not detected
            Level 3 capability: available
If you want to skip descriptions of detected performance issues in the report,
enter: vtune -report summary -report-knob show-issues=false -r .
Alternatively, you may view the report in the csv format: vtune -report
 -format=csv.
vtune: Executing actions 100 % done                                            
  
vtune: Using result path `/home/UnixBench/r000hs'
vtune: Executing actions 75 % Generating a report                              Function                                    CPU Time  CPU Time:Effective Time  CPU Time:Spin Time  CPU Time:Overhead Time  Instructions Retired  Microarchitecture Usage(%)  Microarchitecture Usage:Microarchitecture Usage(%)  Microarchitecture Usage:CPI Rate  Module            Function (Full)                             Source File             Start Address     
------------------------------------------  --------  -----------------------  ------------------  ----------------------  --------------------  --------------------------  --------------------------------------------------  --------------------------------  ----------------  ------------------------------------------  ----------------------  ------------------
p3                                            4.997s                   4.997s                  0s                      0s         4,703,400,000                        6.4%                                                6.4%                             3.816  whetstone-double  p3                                          whets.c                 0x40307d          
whetstones                                    2.332s                   2.332s                  0s                      0s         6,345,000,000                       16.2%                                               16.2%                             1.320  whetstone-double  whetstones                                  whets.c                 0x401750          
__libm_log_l9                                 1.090s                   1.090s                  0s                      0s         3,232,800,000                       23.7%                                               23.7%                             1.211  whetstone-double  __libm_log_l9                               [Unknown]               0x4080b0          
pa                                            0.830s                   0.830s                  0s                      0s         1,042,200,000                        8.8%                                                8.8%                             2.860  whetstone-double  pa                                          whets.c                 0x401c53          
__libm_atan_l9                                0.767s                   0.767s                  0s                      0s         3,808,800,000                       44.5%                                               44.5%                             0.724  whetstone-double  __libm_atan_l9                              [Unknown]               0x407ef0          
__svml_cos2_l9                                0.755s                   0.755s                  0s                      0s         4,662,000,000                       47.5%                                               47.5%                             0.582  whetstone-double  __svml_cos2_l9                              [Unknown]               0x408700          
__libm_exp_l9                                 0.704s                   0.704s                  0s                      0s         2,986,200,000                       29.5%                                               29.5%                             0.847  whetstone-double  __libm_exp_l9                               [Unknown]               0x4082b0          
__libm_sin_l9                                 0.224s                   0.224s                  0s                      0s           336,600,000                        8.0%                                                8.0%                             2.390  whetstone-double  __libm_sin_l9                               [Unknown]               0x4083c0          
__libm_cos_l9                                 0.215s                   0.215s                  0s                      0s           432,000,000                       12.4%                                               12.4%                             1.783  whetstone-double  __libm_cos_l9                               [Unknown]               0x408530          
atan                                          0.019s                   0.019s                  0s                      0s           244,800,000                       78.2%                                               78.2%                             0.279  whetstone-double  atan                                        [Unknown]               0x403b00          
exp                                           0.019s                   0.019s                  0s                      0s                     0                        0.7%                                                0.7%                                    whetstone-double  exp                                         [Unknown]               0x403b20          
log                                           0.019s                   0.019s                  0s                      0s            90,000,000                        0.0%                                                0.0%                             0.740  whetstone-double  log                                         [Unknown]               0x403b30          
cos                                           0.017s                   0.017s                  0s                      0s                     0                        0.0%                                                0.0%                                    whetstone-double  cos                                         [Unknown]               0x403b10          
sin                                           0.014s                   0.014s                  0s                      0s                     0                        0.0%                                                0.0%                                    whetstone-double  sin                                         [Unknown]               0x403b40          
asm_sysvec_apic_timer_interrupt               0.005s                   0.005s                  0s                      0s                     0                       12.3%                                               12.3%                                    vmlinux           asm_sysvec_apic_timer_interrupt             idtentry.h              0xffffffff81e00cf0
error_entry                                   0.005s                   0.005s                  0s                      0s                     0                       12.3%                                               12.3%                                    vmlinux           error_entry                                 entry_64.S              0xffffffff81e01280
swapgs_restore_regs_and_return_to_usermode    0.004s                   0.004s                  0s                      0s             1,800,000                        7.9%                                                7.9%                             7.000  vmlinux           swapgs_restore_regs_and_return_to_usermode  entry_64.S              0xffffffff81e00f70
sync_regs                                     0.003s                   0.003s                  0s                      0s             1,800,000                        5.6%                                                5.6%                             5.000  vmlinux           sync_regs                                   traps.c                 0xffffffff81d3e150
exit_to_user_mode                             0.002s                   0.002s                  0s                      0s                     0                       34.7%                                               34.7%                                    vmlinux           exit_to_user_mode                           common.c                0xffffffff81d435e5
__rdmsr                                       0.001s                   0.001s                  0s                      0s                     0                       13.9%                                               13.9%                                    vmlinux           __rdmsr                                     msr.h                   0xffffffff810adf97
check_preemption_disabled                     0.001s                   0.001s                  0s                      0s            10,800,000                       27.8%                                               27.8%                             0.333  vmlinux           check_preemption_disabled                   smp_processor_id.c      0xffffffff81d439b0
entry_SYSCALL_64                              0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           entry_SYSCALL_64                            entry_64.S              0xffffffff81e00000
idle_cpu                                      0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           idle_cpu                                    core.c                  0xffffffff8116ae50
ktime_get_update_offsets_now                  0.001s                   0.001s                  0s                      0s             1,800,000                       13.9%                                               13.9%                             2.000  vmlinux           ktime_get_update_offsets_now                timekeeping.c           0xffffffff811d57b0
preempt_latency_stop                          0.001s                   0.001s                  0s                      0s             5,400,000                        0.0%                                                0.0%                             0.667  vmlinux           preempt_latency_stop                        core.c                  0xffffffff81161d08
rcu_read_unlock_preempt                       0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           rcu_read_unlock_preempt                     jrcu.c                  0xffffffff811bb4e0
timerqueue_add                                0.001s                   0.001s                  0s                      0s                     0                       13.9%                                               13.9%                                    vmlinux           timerqueue_add                              timerqueue.c            0xffffffff817bd480
trace_local_timer_exit                        0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           trace_local_timer_exit                      irq_vectors.h           0xffffffff810af5a0
xtrace_should_log_event                       0.001s                   0.001s                  0s                      0s             3,600,000                      100.0%                                              100.0%                             1.000  vmlinux           xtrace_should_log_event                     xtrace.c                0xffffffff81285710
__preempt_count_dec_and_test                  0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           __preempt_count_dec_and_test                preempt.h               0xffffffff811cd39a
__pte_needs_invert                            0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           __pte_needs_invert                          pgtable-invert.h        0xffffffff81329135
__raw_spin_lock_irqsave                       0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           __raw_spin_lock_irqsave                     spinlock_api_smp.h      0xffffffff81d52dbc
__raw_spin_unlock_irqrestore                  0.001s                   0.001s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             1.000  vmlinux           __raw_spin_unlock_irqrestore                spinlock_api_smp.h      0xffffffff81d53099
__seqprop_raw_spinlock_sequence               0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           __seqprop_raw_spinlock_sequence             seqlock.h               0xffffffff811d2db0
__update_load_avg_cfs_rq                      0.001s                   0.001s                  0s                      0s                     0                       27.8%                                               27.8%                                    vmlinux           __update_load_avg_cfs_rq                    pelt.c                  0xffffffff8118d510
_static_cpu_has                               0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           _static_cpu_has                             cpufeature.h            0xffffffff81075776
arch_atomic_read                              0.001s                   0.001s                  0s                      0s                     0                       27.8%                                               27.8%                                    vmlinux           arch_atomic_read                            atomic.h                0xffffffff810af176
arch_atomic_try_cmpxchg                       0.001s                   0.001s                  0s                      0s             1,800,000                       83.3%                                               83.3%                             1.000  vmlinux           arch_atomic_try_cmpxchg                     atomic.h                0xffffffff811bb418
arch_atomic_try_cmpxchg                       0.001s                   0.001s                  0s                      0s                     0                       55.6%                                               55.6%                                    vmlinux           arch_atomic_try_cmpxchg                     atomic.h                0xffffffff811bb518
calc_group_shares                             0.001s                   0.001s                  0s                      0s                     0                       27.8%                                               27.8%                                    vmlinux           calc_group_shares                           fair.c                  0xffffffff81178733
clockevents_program_event                     0.001s                   0.001s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             1.000  vmlinux           clockevents_program_event                   clockevents.c           0xffffffff811e0940
clocksource_delta                             0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           clocksource_delta                           timekeeping_internal.h  0xffffffff811d2e48
compound_head                                 0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           compound_head                               page-flags.h            0xffffffff81356178
cpuacct_charge                                0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           cpuacct_charge                              cpuacct.c               0xffffffff81192930
cpumask_test_cpu                              0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           cpumask_test_cpu                            cpumask.h               0xffffffff811a1139
debug_smp_processor_id                        0.001s                   0.001s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.500  vmlinux           debug_smp_processor_id                      smp_processor_id.c      0xffffffff81d43a80
debug_spin_unlock                             0.001s                   0.001s                  0s                      0s                     0                       55.6%                                               55.6%                                    vmlinux           debug_spin_unlock                           spinlock_debug.c        0xffffffff811a4ff1
div_u64_rem                                   0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           div_u64_rem                                 math64.h                0xffffffff8118d64a
do_raw_spin_unlock                            0.001s                   0.001s                  0s                      0s                     0                       27.8%                                               27.8%                                    vmlinux           do_raw_spin_unlock                          spinlock_debug.c        0xffffffff811a4ff0
get_lock_parent_ip                            0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           get_lock_parent_ip                          ftrace.h                0xffffffff81161d08
handle_edge_irq                               0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           handle_edge_irq                             chip.c                  0xffffffff811b1fe0
hrtimer_interrupt                             0.001s                   0.001s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.500  vmlinux           hrtimer_interrupt                           hrtimer.c               0xffffffff811ce150
irqentry_enter                                0.001s                   0.001s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             1.000  vmlinux           irqentry_enter                              common.c                0xffffffff81d43580
irqtime_account_irq                           0.001s                   0.001s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.500  vmlinux           irqtime_account_irq                         cputime.c               0xffffffff8116da10
irqtime_tick_accounted                        0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           irqtime_tick_accounted                      cputime.c               0xffffffff8116e200
ktime_get                                     0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           ktime_get                                   timekeeping.c           0xffffffff811d2d50
lock_release                                  0.001s                   0.001s                  0s                      0s             7,200,000                       27.8%                                               27.8%                             0.250  vmlinux           lock_release                                lockdep.c               0xffffffff811a1110
lockdep_enabled                               0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           lockdep_enabled                             lockdep.c               0xffffffff811a1154
mul_u64_u32_shr                               0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           mul_u64_u32_shr                             math64.h                0xffffffff8118d3a0
native_apic_msr_eoi_write                     0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           native_apic_msr_eoi_write                   apic.h                  0xffffffff810b64b0
native_restore_fl                             0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           native_restore_fl                           irqflags.h              0xffffffff811bb564
perf_event_task_tick                          0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           perf_event_task_tick                        core.c                  0xffffffff812da000
preempt_count                                 0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           preempt_count                               preempt.h               0xffffffff8125a6c8
preempt_count                                 0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           preempt_count                               preempt.h               0xffffffff81d439bd
preempt_count_add                             0.001s                   0.001s                  0s                      0s                     0                       27.8%                                               27.8%                                    vmlinux           preempt_count_add                           core.c                  0xffffffff811613c0
preempt_count_sub                             0.001s                   0.001s                  0s                      0s             5,400,000                       55.6%                                               55.6%                             0.333  vmlinux           preempt_count_sub                           core.c                  0xffffffff81161c90
preempt_latency_start                         0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           preempt_latency_start                       core.c                  0xffffffff811613ea
preempt_latency_start                         0.001s                   0.001s                  0s                      0s                     0                       27.8%                                               27.8%                                    vmlinux           preempt_latency_start                       core.c                  0xffffffff81161400
pty_write_room                                0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           pty_write_room                              pty.c                   0xffffffff8189b525
rcu_kernel_to_user                            0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           rcu_kernel_to_user                          jrcu.c                  0xffffffff811bcb20
rcu_read_lock_preempt                         0.001s                   0.001s                  0s                      0s             1,800,000                       55.6%                                               55.6%                             1.000  vmlinux           rcu_read_lock_preempt                       jrcu.c                  0xffffffff811bb3e0
rdtsc                                         0.001s                   0.001s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             1.000  vmlinux           rdtsc                                       msr.h                   0xffffffff8108105e
rdtsc_ordered                                 0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           rdtsc_ordered                               msr.h                   0xffffffff810809d0
readl                                         0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           readl                                       io.h                    0xffffffff819d6ac4
scheduler_tick                                0.001s                   0.001s                  0s                      0s             1,800,000                       27.8%                                               27.8%                             1.000  vmlinux           scheduler_tick                              core.c                  0xffffffff8116a6a0
trace_hardirqs_off                            0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           trace_hardirqs_off                          trace_preemptirq.c      0xffffffff812592d0
trace_lock_acquire                            0.001s                   0.001s                  0s                      0s                     0                       27.8%                                               27.8%                                    vmlinux           trace_lock_acquire                          lock.h                  0xffffffff811a1520
trace_preempt_on                              0.001s                   0.001s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             1.000  vmlinux           trace_preempt_on                            trace_preemptirq.c      0xffffffff81259810
tracer_preempt_off                            0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           tracer_preempt_off                          trace_irqsoff.c         0xffffffff8125a6c0
update_curr                                   0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           update_curr                                 fair.c                  0xffffffff81178330
update_process_times                          0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           update_process_times                        timer.c                 0xffffffff811cc250
user_access_begin                             0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           user_access_begin                           uaccess.h               0xffffffff817ae74a
variable_test_bit                             0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           variable_test_bit                           bitops.h                0xffffffff811a1146
weak_wrmsr_fence                              0.001s                   0.001s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.500  vmlinux           weak_wrmsr_fence                            barrier.h               0xffffffff810af155
xhci_update_erst_dequeue                      0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           xhci_update_erst_dequeue                    xhci-ring.c             0xffffffff819d6ab0
xtrace_tp_hrtimer_expire_done                 0.001s                   0.001s                  0s                      0s                     0                        0.0%                                                0.0%                                    vmlinux           xtrace_tp_hrtimer_expire_done               tracepoints.h           0xffffffff811cd5e3
___update_load_avg                                0s                       0s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.000  vmlinux           ___update_load_avg                          pelt.c                  0xffffffff8118d638
__d_lookup_rcu                                    0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __d_lookup_rcu                              dcache.c                0xffffffff813c3780
__hrtimer_next_event_base                         0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           __hrtimer_next_event_base                   hrtimer.c               0xffffffff811ccb10
__hrtimer_run_queues                              0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __hrtimer_run_queues                        hrtimer.c               0xffffffff811cd430
__next_base                                       0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __next_base                                 hrtimer.c               0xffffffff811ccb22
__preempt_count_dec_and_test                      0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           __preempt_count_dec_and_test                preempt.h               0xffffffff811a161c
__preempt_count_dec_and_test                      0s                       0s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.000  vmlinux           __preempt_count_dec_and_test                preempt.h               0xffffffff8125979a
__preempt_count_dec_and_test                      0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           __preempt_count_dec_and_test                preempt.h               0xffffffff811a1291
__preempt_count_sub                               0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           __preempt_count_sub                         preempt.h               0xffffffff81161cce
__raw_spin_unlock                                 0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __raw_spin_unlock                           spinlock_api_smp.h      0xffffffff81d52fc6
__rdmsr                                           0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __rdmsr                                     msr.h                   0xffffffff810adf74
__seqprop_raw_spinlock_sequence                   0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __seqprop_raw_spinlock_sequence             seqlock.h               0xffffffff811d2e07
__seqprop_raw_spinlock_sequence                   0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __seqprop_raw_spinlock_sequence             seqlock.h               0xffffffff811d587a
__switch_to_asm                                   0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           __switch_to_asm                             entry_64.S              0xffffffff81001c00
_raw_spin_lock_irqsave                            0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           _raw_spin_lock_irqsave                      spinlock.c              0xffffffff81d52db0
_raw_spin_unlock_irqrestore                       0s                       0s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.000  vmlinux           _raw_spin_unlock_irqrestore                 spinlock.c              0xffffffff81d53090
accumulate_sum                                    0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           accumulate_sum                              pelt.c                  0xffffffff8118d20a
accumulate_sum                                    0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           accumulate_sum                              pelt.c                  0xffffffff8118d590
acl_permission_check                              0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           acl_permission_check                        namei.c                 0xffffffff813b2333
arch_atomic_read                                  0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           arch_atomic_read                            atomic.h                0xffffffff811a4ffd
copy_xregs_to_kernel                              0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           copy_xregs_to_kernel                        internal.h              0xffffffff81083ced
debug_check_no_locks_freed                        0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           debug_check_no_locks_freed                  lockdep.c               0xffffffff8119c6c0
div_u64_rem                                       0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           div_u64_rem                                 math64.h                0xffffffff8118d289
entity_tick                                       0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           entity_tick                                 fair.c                  0xffffffff811793d2
exit_to_user_mode_prepare                         0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           exit_to_user_mode_prepare                   common.c                0xffffffff811c4a70
irq_enter_rcu                                     0s                       0s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.000  vmlinux           irq_enter_rcu                               softirq.c               0xffffffff811323c0
llist_add_batch                                   0s                       0s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.000  vmlinux           llist_add_batch                             llist.c                 0xffffffff8174c7b0
local_apic_timer_interrupt                        0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           local_apic_timer_interrupt                  apic.c                  0xffffffff810af56e
lock_acquire                                      0s                       0s                  0s                      0s             3,600,000                                                                                                             0.000  vmlinux           lock_acquire                                lockdep.c               0xffffffff811a1500
lockdep_hardirqs_on_prepare                       0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           lockdep_hardirqs_on_prepare                 lockdep.c               0xffffffff8119f1e0
lookup_object                                     0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           lookup_object                               debugobjects.c          0xffffffff8175b4df
native_save_fl                                    0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           native_save_fl                              irqflags.h              0xffffffff811bb403
nohz_balancer_kick                                0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           nohz_balancer_kick                          fair.c                  0xffffffff8117e0dc
preempt_count                                     0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           preempt_count                               preempt.h               0xffffffff81161ca3
preempt_count                                     0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           preempt_count                               preempt.h               0xffffffff81161cbe
raw_write_seqcount_t_barrier                      0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           raw_write_seqcount_t_barrier                seqlock.h               0xffffffff811cd539
rdtsc                                             0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           rdtsc                                       msr.h                   0xffffffff811f9c08
seqcount_lockdep_reader_access                    0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           seqcount_lockdep_reader_access              seqlock.h               0xffffffff811d2d72
static_key_false                                  0s                       0s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.000  vmlinux           static_key_false                            jump_label.h            0xffffffff810af53e
timekeeping_delta_to_ns                           0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           timekeeping_delta_to_ns                     timekeeping.c           0xffffffff811d58fb
trace_hardirqs_on                                 0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           trace_hardirqs_on                           trace_preemptirq.c      0xffffffff81259570
trace_hrtimer_cancel                              0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           trace_hrtimer_cancel                        timer.h                 0xffffffff811cd4da
trace_irq_disable                                 0s                       0s                  0s                      0s             1,800,000                                                                                                             0.000  vmlinux           trace_irq_disable                           preemptirq.h            0xffffffff81259764
trace_lock_release                                0s                       0s                  0s                      0s             3,600,000                        0.0%                                                0.0%                             0.000  vmlinux           trace_lock_release                          lock.h                  0xffffffff811a1124
trace_preempt_off                                 0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           trace_preempt_off                           trace_preemptirq.c      0xffffffff812598d0
update_cfs_group                                  0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           update_cfs_group                            fair.c                  0xffffffff81178710
user_mode                                         0s                       0s                  0s                      0s             1,800,000                        0.0%                                                0.0%                             0.000  vmlinux           user_mode                                   ptrace.h                0xffffffff811e3150
vtune: Executing actions 100 % done                                            
# icc --version
icc: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by icc)
# export LANG=en_US.UTF-8
# mkdir /home/Test
# cd /home/Test
# wget https://registrationcenter-download.intel.com/akdlm/irc_nas/19084/l_HPCKit_p_2023.0.0.25400_offline.sh
# ls -l l_HPCKit_p_2023.0.0.25400_offline.sh 
-rwxr-xr-x 1 root root 1643597321 12月  9 05:44 l_HPCKit_p_2023.0.0.25400_offline.sh
# sh l_HPCKit_p_2023.0.0.25400_offline.sh -a --list-components
Extract l_HPCKit_p_2023.0.0.25400_offline to /tmp/l_HPCKit_p_2023.0.0.25400_offline...
[#############################################################################]
Extract l_HPCKit_p_2023.0.0.25400_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
ID                                      Version        Installed Name                                                           
================================================================================================================================
intel.oneapi.lin.inspector              2023.0.0-25340 false     Intel® Inspector                                               
intel.oneapi.lin.itac                   2021.8.0-25341 false     Intel® Trace Analyzer and Collector                            
intel.oneapi.lin.clck                   2021.7.2-25333 false     Intel® Cluster Checker                                         
intel.oneapi.lin.mpi.devel              2021.8.0-25329 false     Intel® MPI Library                                             
intel.oneapi.lin.dpcpp-cpp-compiler-pro 2023.0.0-25370 false     Intel® oneAPI DPC++/C++ Compiler & Intel® C++ Compiler Classic 
intel.oneapi.lin.ifort-compiler         2023.0.0-25370 false     Intel® Fortran Compiler & Intel® Fortran Compiler Classic      
Remove extracted files: /root/l_HPCKit_p_2023.0.0.25400_offline...
# sh l_HPCKit_p_2023.0.0.25400_offline.sh -a -s --eula accept --components intel.oneapi.lin.dpcpp-cpp-compiler-pro
Extract l_HPCKit_p_2023.0.0.25400_offline to /root/l_HPCKit_p_2023.0.0.25400_offline...
[#############################################################################]
Extract l_HPCKit_p_2023.0.0.25400_offline completed!
Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
This machine uses operating system "CentOS version 7". Compatibility issues may occur.
Installation can continue; however, product functionality may not meet expectations because this product is untested on this operating system. Suggestion: Check the Release Notes for a list of supported operating systems and install this product on a compliant system.
Intel® Graphics Compute Runtime for OpenCL™ not found.
You have no relevant GPU driver. If you are going to develop and run GPU-accelerated applications on this system, please check the installation guide for instructions on the GPU drivers here: https://www.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/prerequisites/install-intel-gpu-drivers.html
Otherwise, you can ignore the warning and continue the installation as is: the product can still be used with CPU.
Missing Software on Machine.
Intel® oneAPI HPC Toolkit is an add-on for the Intel® oneAPI Base Toolkit. For the full set of developer tools including Intel® oneAPI DPC++ Compiler, Intel® oneAPI libraries, and analyzers, download Intel® oneAPI Base Toolkit here: https://software.intel.com/en-us/oneapi/oneapi-kit
Start installation flow...
Installed Location: /opt/intel/oneapi
Log files: /tmp/root/intel_oneapi_installer/2023.03.31.11.15.42.961
Installation has successfully completed
Remove extracted files: /root/l_HPCKit_p_2023.0.0.25400_offline...
# tar xvfz libstdc++.so.6.0.25.tar.gz --directory=/
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++.a
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++.la
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++.so
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++.so.6
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++.so.6.0.25
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++.so.6.0.25-gdb.py
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++fs.a
opt/intel/oneapi/compiler/2023.0.0/linux/lib/libstdc++fs.la
# source /opt/intel/oneapi/setvars.sh
 
:: initializing oneAPI environment ...
   bash: BASH_VERSION = 4.2.46(1)-release
   args: Using "$@" for setvars.sh arguments: 
:: compiler -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: tbb -- latest
:: oneAPI environment initialized ::
 
# icc --version -diag-disable=10441
icc (ICC) 2021.8.0 20221119
Copyright (C) 1985-2022 Intel Corporation.  All rights reserved.