[Issue]: rocm 7.2 getting a lot of warnings related to openmp kernels when building QMCPACK
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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