ROCm / ROCm/aomp

[Issue]: rocm 7.2 getting a lot of warnings related to openmp kernels when building QMCPACK

Open
#1,872 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Fortran
Stars
246
Forks
63
Avg merge
21h 50m
Merged PRs (30d)
25

Description

Problem Description

Building QMCPACK using the amdclang in rocm 7.2 gives me tons off lld warning

ld.lld: warning: <unknown>:0:0: in function __omp_offloading_26_36d5ad__XXXXXX local memory global used by non-kernel function

Here is the reproducer
In build directory,

git clone --depth=1 https://github.com/QMCPACK/qmcpack.git
cd qmcpack/build
cmake -DCMAKE_C_COMPILER=amdclang -DCMAKE_CXX_COMPILER=amdclang++ -DQMC_MPI=OFF -DQMC_GPU=openmp -DQMC_GPU_ARCHS=gfx90a ..
cd src/QMCWaveFunctions
make -j32

Not sure what changed between 7.1 and 7.2.

Operating System

doesn't matter

CPU

doesn't matter

GPU

doesn't matter

ROCm Version

7.2

ROCm Component

aomp

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the provided CMake and make reproducer from the build directory, focusing on the src/QMCWaveFunctions build with amdclang and OpenMP GPU settings. Compare the warning behavior between ROCm 7.1 and 7.2; done means the warning source is identified and the resulting fix or confirmed compiler issue is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.