Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Roofline binary for MI300 not working for RHEL8 #549

Open
gberg617 opened this issue Jan 30, 2025 · 0 comments
Open

[Bug]: Roofline binary for MI300 not working for RHEL8 #549

gberg617 opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels
bug Something isn't working triage

Comments

@gberg617
Copy link

Describe the bug

Roofline binary for RHEL8 MI300 not working due to missing requirements: "GLIBCXX_3.4.29" and "GLIBC_2.34" not found.

Linux Distribution

RHEL8

ROCm Compute Profiler Version

rocprofiler-compute version: 3.0.0 (release) Git revision: da1bd04

GPU

MI300A

ROCm Version

ROCm 6.2.1

Cluster name (if applicable)

RZAdams

Reproducer

  1. Install rocprof-compute from source using instructions: https://rocm.docs.amd.com/projects/rocprofiler-compute/en/latest/install/core-install.html.
  2. Try to run roofline analysis on some problem on RZAdams.

Expected behavior

I expect roofline analysis to run to completion and generate some results. From my understanding, PR #470 put this capability into rocprof-compute for MI300s on RHEL8.

Relevant log output

/usr/WS1/bergel1/rocprof/3.0.0/bin/roofline-rhel8-mi300-rocm6: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/WS1/bergel1/rocprof/3.0.0/bin/roofline-rhel8-mi300-rocm6)
/usr/WS1/bergel1/rocprof/3.0.0/bin/roofline-rhel8-mi300-rocm6: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /usr/WS1/bergel1/rocprof/3.0.0/bin/roofline-rhel8-mi300-rocm6)
Traceback (most recent call last):
  File "/usr/workspace/bergel1/rocprof/3.0.0/bin/rocprof-compute", line 156, in <module>
    main()
  File "/usr/workspace/bergel1/rocprof/3.0.0/bin/rocprof-compute", line 144, in main
    rocprof_compute.run_profiler()
  File "/usr/WS1/bergel1/rocprof/3.0.0/libexec/rocprofiler-compute/utils/utils.py", line 53, in wrap_function
    result = function(*args, **kwargs)
  File "/usr/WS1/bergel1/rocprof/3.0.0/libexec/rocprofiler-compute/rocprof_compute_base.py", line 294, in run_profiler
    self.__soc[self.__mspec.gpu_arch].post_profiling()
  File "/usr/WS1/bergel1/rocprof/3.0.0/libexec/rocprofiler-compute/utils/utils.py", line 53, in wrap_function
    result = function(*args, **kwargs)
  File "/usr/WS1/bergel1/rocprof/3.0.0/libexec/rocprofiler-compute/rocprof_compute_soc/soc_gfx942.py", line 108, in post_profiling
    mibench(self.get_args(), self._mspec)
  File "/usr/WS1/bergel1/rocprof/3.0.0/libexec/rocprofiler-compute/utils/utils.py", line 918, in mibench
    subprocess.run(
  File "/collab/usr/gapps/python/build/spack-toss4.1/var/spack/environments/python/._view/75prb56irmif5ejtirjthpx6kq3gqo52/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/WS1/bergel1/rocprof/3.0.0/bin/roofline-rhel8-mi300-rocm6', '-o', '/g/g20/bergel1/mslib/build-toss4_mi300a_midas-release/workloads/test_j2void/MI300A_A1/roofline.csv', '-d', '-1']' returned non-zero exit status 1.

Screenshots

No response

Additional Context

No response

@gberg617 gberg617 added bug Something isn't working triage labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants