Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5021 Discussions

VTune analysis of MPI program on linux fails

hbu
Novice
243 Views

Hi all,

I am having trouble to run an MPI analysis with VTune on linux. I am trying to run

srun vtune -collect hpc-performance –r vtune_mpi -- ./my_app

The error I am getting looks like

vtune: Error: Preliminary validation of the requested events failed.
vtune: Internal Error
vtune: Internal Error
vtune: Internal Error
vtune: Error: amplxe-perf:

I attach the error log (slurm_Error.txt) and the log of the self-check (self-check_log.txt).

Thank you!

1 Solution
yuzhang3_intel
Moderator
233 Views

From the log, the SEP driver doesn't work. Could you install the driver manually? The current release is 2024.1, I suggest you upgrade the VTune version to the latest one.

 

Check driver:
isSEPDriverAvailable: false
isPAXDriverLoaded: false
Command line:
lsmod

Is SEP in lsmod: False
The SEP driver is not available.
================================================================================
SEP version:
Command line:
/opt/intel/oneapi/vtune/2023.0.0/bin64/sep -version
Stdout:
Sampling Enabling Product Version: 5.38 Beta built on Dec 6 2022 03:53:32
SEP Driver Version: PAX Driver Version: Platform type: 127
CPU name: Intel(R) Xeon(R) Processor code named Cascadelake
PMU: cascadelake_server
Stderr:
Error retrieving SEP driver version
Error retrieving PAX driver version

Check driver with sep -version: Fail
================================================================================

View solution in original post

0 Kudos
2 Replies
yuzhang3_intel
Moderator
234 Views

From the log, the SEP driver doesn't work. Could you install the driver manually? The current release is 2024.1, I suggest you upgrade the VTune version to the latest one.

 

Check driver:
isSEPDriverAvailable: false
isPAXDriverLoaded: false
Command line:
lsmod

Is SEP in lsmod: False
The SEP driver is not available.
================================================================================
SEP version:
Command line:
/opt/intel/oneapi/vtune/2023.0.0/bin64/sep -version
Stdout:
Sampling Enabling Product Version: 5.38 Beta built on Dec 6 2022 03:53:32
SEP Driver Version: PAX Driver Version: Platform type: 127
CPU name: Intel(R) Xeon(R) Processor code named Cascadelake
PMU: cascadelake_server
Stderr:
Error retrieving SEP driver version
Error retrieving PAX driver version

Check driver with sep -version: Fail
================================================================================

0 Kudos
hbu
Novice
186 Views

I followed https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2023-0/build-install-sampling-drivers-for-linux-targets.html and did the following

 

yum install elfutils-libelf-devel
cd /opt/intel/oneapi/vtune/2023.0.0/sepdk/src
./build-driver
./insmod-sep -r -g my_group

 

Now I get

 

/opt/intel/oneapi/vtune/2023.0.0/bin64/sep -version
Sampling Enabling Product Version: 5.38 Beta built on Dec  6 2022 03:53:32
SEP Driver Version: 5.38 Beta (public)
PAX Driver Version: 1.0
Platform type: 127
CPU name: Intel(R) Xeon(R) Processor code named Cascadelake
PMU: cascadelake_server
Driver configs: Non-Maskable Interrupt, REGISTER CHECK ON
Copyright(C) 2007-2022 Intel Corporation. All rights reserved.

 

The hpc-performance analysis runs fine now.

Thank you!

0 Kudos
Reply