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

intel-oneapi-vtune not install all dependencies to build kernel modules.

IonutNechita
Employee
540 Views

Hi,

 

I have installed clean Ubuntu 22.04 and Ubuntu 24.04 and i notice this:

 

apt-get purge intel-oneapi-vtune
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  g++ g++-13 g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu intel-basekit-env-2024.1 intel-basekit-getting-started-2024.1 intel-oneapi-advisor intel-oneapi-ccl-2021.12 intel-oneapi-ccl-devel intel-oneapi-ccl-devel-2021.12
  intel-oneapi-common-licensing intel-oneapi-common-licensing-2024.1 intel-oneapi-common-oneapi-vars intel-oneapi-common-oneapi-vars-2024.1 intel-oneapi-common-vars intel-oneapi-compiler-cpp-eclipse-cfg-2024.1 intel-oneapi-compiler-dpcpp-cpp intel-oneapi-compiler-dpcpp-cpp-2024.1
  intel-oneapi-compiler-dpcpp-cpp-common-2024.1 intel-oneapi-compiler-dpcpp-cpp-runtime-2024.1 intel-oneapi-compiler-dpcpp-eclipse-cfg-2024.1 intel-oneapi-compiler-shared-2024.1 intel-oneapi-compiler-shared-common-2024.1 intel-oneapi-compiler-shared-runtime-2024.1 intel-oneapi-dal-2024.2
  intel-oneapi-dal-common-2024.2 intel-oneapi-dal-common-devel-2024.2 intel-oneapi-dal-devel intel-oneapi-dal-devel-2024.2 intel-oneapi-dev-utilities intel-oneapi-dev-utilities-2024.1 intel-oneapi-dev-utilities-eclipse-cfg-2024.1 intel-oneapi-diagnostics-utility
  intel-oneapi-diagnostics-utility-2024.1 intel-oneapi-dnnl intel-oneapi-dnnl-2024.1 intel-oneapi-dnnl-devel intel-oneapi-dnnl-devel-2024.1 intel-oneapi-dpcpp-cpp-2024.1 intel-oneapi-dpcpp-ct intel-oneapi-dpcpp-ct-2024.1 intel-oneapi-dpcpp-ct-eclipse-cfg-2024.1
  intel-oneapi-dpcpp-debugger-2024.1 intel-oneapi-icc-eclipse-plugin-cpp-2024.1 intel-oneapi-ipp-2021.11 intel-oneapi-ipp-common-2021.11 intel-oneapi-ipp-common-devel-2021.11 intel-oneapi-ipp-devel intel-oneapi-ipp-devel-2021.11 intel-oneapi-ippcp-2021.11 intel-oneapi-ippcp-common-2021.11
  intel-oneapi-ippcp-common-devel-2021.11 intel-oneapi-ippcp-devel intel-oneapi-ippcp-devel-2021.11 intel-oneapi-libdpstd-devel-2022.5 intel-oneapi-mkl-classic-devel-2024.1 intel-oneapi-mkl-classic-include-2024.1 intel-oneapi-mkl-classic-include-common-2024.1 intel-oneapi-mkl-cluster-2024.1
  intel-oneapi-mkl-cluster-devel-2024.1 intel-oneapi-mkl-cluster-devel-common-2024.1 intel-oneapi-mkl-core-2024.1 intel-oneapi-mkl-core-common-2024.1 intel-oneapi-mkl-core-devel-2024.1 intel-oneapi-mkl-core-devel-common-2024.1 intel-oneapi-mkl-devel intel-oneapi-mkl-devel-2024.1
  intel-oneapi-mkl-sycl-2024.1 intel-oneapi-mkl-sycl-blas-2024.1 intel-oneapi-mkl-sycl-data-fitting-2024.1 intel-oneapi-mkl-sycl-devel-2024.1 intel-oneapi-mkl-sycl-devel-common-2024.1 intel-oneapi-mkl-sycl-dft-2024.1 intel-oneapi-mkl-sycl-include-2024.1 intel-oneapi-mkl-sycl-lapack-2024.1
  intel-oneapi-mkl-sycl-rng-2024.1 intel-oneapi-mkl-sycl-sparse-2024.1 intel-oneapi-mkl-sycl-stats-2024.1 intel-oneapi-mkl-sycl-vm-2024.1 intel-oneapi-mpi-2021.12 intel-oneapi-mpi-devel-2021.12 intel-oneapi-openmp-2024.1 intel-oneapi-openmp-common-2024.1 intel-oneapi-tbb-2021.12
  intel-oneapi-tbb-common-2021.12 intel-oneapi-tbb-common-devel-2021.12 intel-oneapi-tbb-devel intel-oneapi-tbb-devel-2021.12 intel-oneapi-tcm-1.0 intel-oneapi-tlt intel-oneapi-tlt-2024.1 libasan8 libcc1-0 libgcc-13-dev libhwasan0 libitm1 liblsan0 libquadmath0 libssl-dev libstdc++-13-dev
  libtsan2 libubsan1
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  intel-basekit* intel-oneapi-vtune*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1,656 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 225952 files and directories currently installed.)
Removing intel-basekit (2024.1.0-589) ...
Removing intel-oneapi-vtune (2024.1.0-515) ...
Warning:  no socwatch driver was found loaded in the kernel.
Using C compiler = gcc
Using kernel build dir = /lib/modules/6.8.5-lowlatency-sunlight1/build
No module symvers file found
Using common inc dir = /opt/intel/oneapi/vtune/2024.1/sepdk/src/socwatch/socwatch_driver/../common/include
"/lib/modules/6.8.5-lowlatency-sunlight1/build/include/linux/cpufreq.h" exists!
Using file name sw_driver
Make args = KERNEL_SRC_DIR=/lib/modules/6.8.5-lowlatency-sunlight1/build CPUFREQ_FIX_BACKPORTED=1 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2024.1/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver
./build_linux_driver.sh: 181: make: not found
Warning:  no vtsspp driver was found loaded in the kernel.
/var/lib/dpkg/info/intel-oneapi-vtune.prerm: 13: make: not found

Warning:  the following driver(s) were not found loaded in the kernel:  sep5.

Warning:  no vtsspp driver was found loaded in the kernel.

Warning: skipping SOCWATCH driver unload, not built


Warning:  the following driver(s) were not found loaded in the kernel:  socperf3.


The PAX service is not loaded anymore.
No previously installed pax driver boot script was found.
ERROR: unable to find command "pkg-config" !
Please add the location to the above commands to your PATH and re-run the script ... exiting.
/var/lib/dpkg/info/intel-oneapi-vtune.prerm: 18: make: not found
(Reading database ... 222347 files and directories currently installed.)
Purging configuration files for intel-oneapi-vtune (2024.1.0-515) ...

 

In this case intel-oneapi-vtune not install make and pkg-config.

 

0 Kudos
7 Replies
IonutNechita
Employee
538 Views

Meta-package installed:

 

dpkg -l | grep intel-basekit
ii intel-basekit-env-2024.1 2024.1.0-589 all Intel® oneAPI Base Toolkit
ii intel-basekit-getting-started-2024.1 2024.1.0-589 all Intel® oneAPI Base Toolkit

0 Kudos
yuzhang3_intel
Moderator
462 Views

When you install the two dependencies, the VTune can work, right? Is there anything else missing? Thanks.

0 Kudos
IonutNechita
Employee
417 Views

Yes. Is true this.

I installed manually make and pkg-config packages with apt.

And i reinstalled with apt-get install --reinstall intel-oneapi-vtune -y.

Kernel modules is compiled and loaded at system.

0 Kudos
yuzhang3_intel
Moderator
409 Views

You fully followed the steps to install the VTune in one clean Ubtuntu, right?

 

yuzhang3_intel_0-1713258738809.png

 

0 Kudos
IonutNechita
Employee
399 Views

Yes, this steps using clean Ubuntu.

0 Kudos
yuzhang3_intel
Moderator
387 Views

Ok, I will report the issue to the engineering team, thanks.

0 Kudos
IonutNechita
Employee
385 Views

Thanks.

0 Kudos
Reply