Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4638 Discussions

Advisor 2021.2 Linux assertion fail 'Metrics Discovery library not found'

Winfried
Beginner
569 Views

Hi,

I am working on an Intel i5-8250U laptop with OpenSuse linux 15.2 (which is very similar to Suse SLES 15 SP2).

In installed OneAPI basekit and hpckit according to the installation instructions:

sudo zypper addrepo https://yum.repos.intel.com/oneapi oneAPI
sudo zupper install intel-basekit intel-hpcki

VTune and Inspector work fine.
When I open Advisor with:

/opt/intel/oneapi/advisor/2021.2.0/bin64/advisor-gui

 the Advisor GUI appears. Everytime I select my project and click on the "Run analysis" button an "Intel advisor caused an assertion failure" dialog appears with the following text:

[Assertion]
CrashedPID: 27453
CrashedTID: 27458
Expression: m_library
File: sdks/release_posix-x86_64/perfrun_1.26.48/include/perfrun1/pluginsdk/metrics_discovery_lib.hpp
Line: 837
Product: Intel(R) Advisor 2021.2; 609067
ReportPath: /tmp/advixe-log-wdobbe/2021-04-22-17-29-41-984120.advixe-runss/

[PremortalLog]
72 [140021813036800] WARN collectunits.pci_devices <> - Couldn't fill nodes from distance info, using old-good engine info, at file: vcs/collectunits1/pci_devices/src/linux/get_gpu_adapters.cpp:156
74 [140021813036800] WARN perfrun.sdk <> - Cannot find CloseMetricsDevice symbol
74 [140021813036800] WARN perfrun.sdk <> - Metrics Discovery library was not found, lib name: 'libmd.so.1', lib path: '', at file: sdks/release_posix-x86_64/perfrun_1.26.48/include/perfrun1/pluginsdk/metrics_discovery_lib.hpp:824
74 [140021813036800] ERROR qfagent.assert <> - ASSERT FAILED: 'm_library', at file: sdks/release_posix-x86_64/perfrun_1.26.48/include/perfrun1/pluginsdk/metrics_discovery_lib.hpp:837

[Context.0x00006b42]
EAX: 0x00007f595e6d10f0
EBP: 0x00007f595e6d1590
EBX: 0x0000000000000345
ECX: 0x0000000000000000
EDI: 0x00007f595e6d1028
EDX: 0x0000000000000000
EIP: 0x00007f59603dc165
ESI: 0x00007f595800d3a0
ESP: 0x00007f595e6d0df0
R10: 0x000000000000001e
R11: 0x0000000000000000
R12: 0x00007f595800b8b8
R13: 0x00007f595800b8b8
R14: 0x0000000000000088
R15: 0x0000000000000000
R8: 0x0000000000000000
R9: 0x00007f59653861e0

The assertion dialog then tries to collect data to send an error report to Intel, but the collection process gets stuck when the progress bar is at appr. 25%. When I close the assertion dialog the GUI is still visible, but when I try to start the analysis nothing seems to happen.

Searching for library libmd.so.1 gives no result:

linux-wdobbe:/opt/intel/oneapi # find . -name libmd.so*
./vtune/2021.3.0/system_analyzer/target/libmd.so
linux-wdobbe:/opt/intel/oneapi #

 

Full system information:
Intel Advisor 2021.2 build number 609067
OpenSuse Linux 15.2
HP ProBook 450 G5, Intel Intel(R) Core(TM) i5-8250U CPU, 16 GB RAM
GCC 7.2 and 9.3

Thanks in advance for any advice how to resolve this,
regards Winfried

0 Kudos
4 Replies
Gopika_Intel
Moderator
550 Views

Hi,

Thank you for reaching out and providing all the information. We are checking it internally. We will get back to you.

Regards

Gopika


AthiraM_Intel
Moderator
402 Views

Hi,


The issue is resolved with the latest release.


Advisor 2021.4 is available for download as a standalone tool at https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#ad... or as part of oneAPI Base Toolkit 2021.4 at https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html


Could you please try with the latest release and let us know whether your issue is resolved?


Thanks.





Winfried
Beginner
375 Views

Hi,

Thanks for the update.

The issue is indeed resolved in version 2021.4.

 

However when I open advisor, even when it still displays the welcome screen, it runs one cpu core of my laptop immediately at 100 %, see top output below.
Is this expected ?

 

top - 19:50:40 up 17 min,  4 users,  load average: 1,31, 1,52, 1,18
Tasks: 309 total,   2 running, 306 sleeping,   0 stopped,   1 zombie
%Cpu(s):  7,1 us,  5,9 sy,  0,0 ni, 86,0 id,  0,1 wa,  0,0 hi,  0,8 si,  0,0 st
MiB Mem : 15866,42+total, 7674,945 free, 3330,820 used, 4860,660 buff/cache
MiB Swap: 2559,996 total, 2559,996 free,    0,000 used. 11624,77+avail Mem  

 PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
24877 wdobbe    20   0 3147016 317152 260860 R 100,3 1,952   5:16.57 advisor-gui
3299 wdobbe    20   0 4157600 501852 247208 S 2,333 3,089   1:26.20 firefox
3803 wdobbe    20   0 3173300 331012 144700 S 2,000 2,037   0:44.94 Web Content

 

AthiraM_Intel
Moderator
316 Views

Hi,


We are working on this internally. We will let you know the updates soon.



Thanks.



Reply