- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Envs:
Ubuntu 18.04.6 LTS (Bionic Beaver)
Kernel: 5.4.0-110-generic #124~18.04.1-Ubuntu SMP
oneAPI 2022.2 (l_BaseKit_p_2022.2.0.262_offline.sh)
I am trying oneAPI-samples for VTune and Advisor
https://github.com/oneapi-src/oneAPI-samples
I build and run Tools/Advisor/matrix_multiply_advisor successfully.
$ ./matrix.dpcpp
Address of buf1 = 0x7f54da1e8010
Offset of buf1 = 0x7f54da1e8180
Address of buf2 = 0x7f54d99e7010
Offset of buf2 = 0x7f54d99e71c0
Address of buf3 = 0x7f54d91e6010
Offset of buf3 = 0x7f54d91e6100
Address of buf4 = 0x7f54d89e5010
Offset of buf4 = 0x7f54d89e5140
Using multiply kernel: multiply1_1
Running on Intel(R) Iris(TM) Pro Graphics 580 [0x193b]
Elapsed Time: 0.551854s
However, when I run vtune or advisor, the tools end immediately and report error:
$ source /opt/intel/oneapi/setvars.sh
$ advisor --collect=roofline --project-dir=./advisor_result -- ./matrix.dpcpp
advisor: Warning: The Roofline is a special batch mode of data collection. It runs two analyses one by one. There are Survey Analysis and Trip Counts Analysis with FLOP respectively.
advisor: Starting command line: advisor --collect survey --project-dir ./advisor_result -- ./matrix.dpcpp
Intel(R) Advisor Command Line Tool
Copyright (C) 2009-2022 Intel Corporation. All rights reserved.
advisor: Collection started. To stop the collection, either press CTRL-C or enter from another console window: advisor -r /home/xiaochang/Works/oneAPI-samples/Tools/Advisor/matrix_multiply_advisor/build/advisor_result/e000/hs003 -command stop.
advisor: Collection stopped.
advisor: Warning: The application returned a non-zero exit value.
advisor: Warning: The application exit code can indicate an error while loading shared libraries, e.g. OpenMP runtime.
Possible Solution: Configure the PATH environment variable. If you use an Intel compiler, you can run the following configuration script:
source /[install-dir]/bin/compilervars.sh -arch [arch] -platform [platform]
Example: source /opt/intel/bin/compilervars.sh intel64
advisor: Opening result 31 % Processing profile metrics and debug information
advisor: Error: Error 0x4000002a (Database interface error) -- Cannot run data transformation `Add Fake Loop Data'.
advisor: Opening result 100 % done
advisor: Error: Data loading failed.
advisor: Error: No data is collected. Possible reasons:
- Workload is too small. No samples are collected.
- The application environment is not specified correctly. Shared libraries are not found.
- The command-line parameters required to profile the application are missing.
Consider checking the collection log for additional information.
I also found pinbin crashed with dmesg
[ 2984.359503] pinbin[31666]: segfault at 40 ip 000055bb2d9658d0 sp 00007fff59ea7510 error 4 in pinbin[55bb2d44d000+601000]
[ 2984.359515] Code: 5d 41 5c 41 5d e9 e4 54 00 00 be ff ff ff ff 4c 89 e7 e9 63 ff ff ff 0f 1f 00 55 48 8d 47 ff 48 89 fd 48 83 e0 c0 48 83 ec 10 <8b> 70 40 c7 44 24 0c 00 00 00 00 85 f6 75 11 48 89 ef e8 29 fe ff
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think there are some libs installed in /usr/local/lib messed up pin. After removed those libs, the problem was resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities. We are glad to know that your issue is resolved. Thank you for sharing the solution with us. If you need any further assistance, please post a new question as this thread will no longer be monitored by Intel.
Regards,
Alekhya
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page