Skip to content

Error compiling for AMD ROCM #1814

@LutzRohlfing

Description

@LutzRohlfing

Issue:

I tried compiling AMR-Wind for an AMD W7900 Pro GPU and got the following issue:

 50      Use AMD's 'clang++'/'amdclang++' compiler, or on Cray the CC compiler
 51      wrapper instead.
 52    Call Stack (most recent call first):
 53      submods/amrex/Src/CMakeLists.txt:40 (include)
 54    
 55    
 56    CMake Error at submods/amrex/Tools/CMake/AMReXParallelBackends.cmake:311 (find_package):
 57      Could not find a package configuration file provided by "hiprand" with any
 58      of the following names:
 59    
 60        hiprandConfig.cmake
 61        hiprand-config.cmake
 62  

System: Ubuntu 24.04
AMR-Wind Version: 3.8.1

Error.txt

I attached the full spack build log in the error.txt.

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