Skip to content

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

@ye-luo

Description

@ye-luo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions