Comments (9)
@eshcherb It was down to libhsa-amd-aqlprofile64.so
missing from the install. Issuing sudo apt install --reinstall hsa-amd-aqlprofile
did the trick. Thank you for the pointer.
Even though I work for a company subcontracted by AMD and am fairly well versed in the ways of administering a ROCm install, even I don't know where to report issues regarding the "bigger picture" of installing ROCm libraries. Few things to note:
- When looking for the package that provides said missing library, common APT tools can't fetch file information from the repository. If I'm not mistaken, it's
Contents.gz
missing from the dist, but I may be mistaken here. Something along the lines of this.
PS /home/mate> apt search aqlprofile
Sorting... Done
Full Text Search... Done
hsa-amd-aqlprofile/Ubuntu 16.04,now 1.0.0 amd64 [installed]
AQLPROFILE library for AMD HSA runtime API extension support
hsa-amd-aqlprofile4.0.0/Ubuntu 16.04 1.0.0 amd64
AQLPROFILE library for AMD HSA runtime API extension support
PS /home/mate> apt-file show hsa-amd-aqlprofile
PS /home/mate> apt-file show hsa-amd-aqlprofile4.0.0
Downloading the actual deb file and listing it's contents show that indeed this is the pacakge.
dpkg --contents ./hsa-amd-aqlprofile_1.0.0_amd64.deb
drwxr-xr-x root/root 0 2020-12-14 12:03 ./opt/
drwxr-xr-x root/root 0 2020-12-14 12:03 ./opt/rocm-4.0.0/
drwxr-xr-x root/root 0 2020-12-14 12:03 ./opt/rocm-4.0.0/hsa-amd-aqlprofile/
drwxr-xr-x root/root 0 2020-12-14 12:03 ./opt/rocm-4.0.0/hsa-amd-aqlprofile/lib/
lrwxrwxrwx root/root 0 2020-12-14 12:03 ./opt/rocm-4.0.0/hsa-amd-aqlprofile/lib/libhsa-amd-aqlprofile64.so -> libhsa-amd-aqlprofile64.so.1
lrwxrwxrwx root/root 0 2020-12-14 12:03 ./opt/rocm-4.0.0/hsa-amd-aqlprofile/lib/libhsa-amd-aqlprofile64.so.1 -> libhsa-amd-aqlprofile64.so.1.0.40000
-rw-r--r-- root/root 249304 2020-12-14 12:03 ./opt/rocm-4.0.0/hsa-amd-aqlprofile/lib/libhsa-amd-aqlprofile64.so.1.0.40000
drwxr-xr-x root/root 0 2020-12-14 12:03 ./opt/rocm-4.0.0/lib/
lrwxrwxrwx root/root 0 2020-12-14 12:03 ./opt/rocm-4.0.0/lib/libhsa-amd-aqlprofile64.so -> ../hsa-amd-aqlprofile/lib/libhsa-amd-aqlprofile64.so
- While it is the recommended way of always doing a clean install of ROCm, it's not how users of APT repos have been socialized. Spamming
apt upgrade
and things breaking is generally bad experience. I'm fairly certain nobody went and started deleting libraries inside a ROCm install. The package maintainers should really up their game in terms of test coverage of system upgrades. I'm not sure what's inside the current battery of deployment testing, but changes to the repo contents should likely test upgrade paths from the past 1-2 versions inside docker containers, VMs or anything.
from rocprofiler.
Thank you for reporting the issue.
I will try to reproduce it.
from rocprofiler.
This is the error I get when I simply run --list-basic
.
from rocprofiler.
Hi, it looks like you have corrupted ROCM installation.
ROCr runtime cannot find 'libhsa-amd-aqlprofile64.so' library.
Run the profiling with 'LD_DEBUG=libs':
$ LD_DEBUG=libs rocprof > log.txt 2>&1
And you can check where it looks 'libhsa-amd-aqlprofile64.so' library.
It should be there '/opt/rocm/lib/libhsa-amd-aqlprofile64.so'.
If you have it then it might that you didn't update the ROCM properly and you have an old version with incompatible API.
So I would recommend to wipe out your current ROCM completely and install the latest according the instructions from ROCM GitHub page: https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html
from rocprofiler.
@eshcherb Any update on this thread? I recently noticed that even simply running rocprof --list-basic
can cause the same problem.
from rocprofiler.
Abort (core dumped) is exit of profiler on an error.
Could you provide complete log with the error message?
from rocprofiler.
I'm seeing the same error when trying to collect perf counters via the CLI tool (rocprof) and also while just trying to list the counters. ROCm 4.0 and the issue is the same. When I'm reading counters from an app that doesn't launch kernels (rocminfo
for eg.) it doesn't crash, so at least init and cleanup aren't at fault.
@syifan are you looking for the actual dump file?
from rocprofiler.
And please upload the 'log.txt' with the output from 'LD_DEBUG=libs'.
from rocprofiler.
I have been upgrading to ROCm 4.0 and the problem is not there anymore. So I guess @MathiasMagnus is right, it should be an installation issue.
from rocprofiler.
Related Issues (20)
- rocprofv2 session name is not recognized when used with mpiexec
- Is rocprofv2 part of ROCm? HOT 1
- Please add gfx1100 support for aqlprofie HOT 1
- /opt/rocm/libexec/rocprofiler/tblextr.py: ROCTX range begin not found, pid()
- Overlapping kernel in profiler trace HOT 1
- Do I need --parallel-kernels option for multi-kernel on multi-device scenario?
- Question: what is the recommended way to profile multi-gpu code?
- spack error building `[email protected]` HOT 3
- ROCr error when running papi_command_line with specific event
- Tool for reading CSV files? HOT 1
- Build rocprof source code error
- [Feature]: controlling the profiling scope
- [Feature]: add cmake imported target
- [Feature]: Ignore unsupported architectures HOT 1
- [Issue]: Unable to compile, receive error: ld.lld: error: relocation R_X86_64_32 HOT 1
- [Issue]: rocprofile doesn't work with dlopen hip
- [Issue]: what's correct way to use --plugins att auto? "Could not find att output kernel: ./*_kernel.txt" HOT 1
- [Issue]: rocprofv2 --hip-trace --roctx-trace --plugin perfetto, no ROCTX in Perfetto UI viewer
- rocprof bash sets PATH to the wrong location, then fails to find rocminfo
- [Issue]: rocprofv2 --plugin file --plugin-version 1 --kernel-trace -o file_name output csv header columns number doesn't match the number of data columns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocprofiler.