Skip to content

Change HIP makefiles to not use ${HIP_PATH} #3

@ausellis0

Description

@ausellis0

AMD has begun the process of moving header files from /opt/rocm/${ROCM_PACKAGE}/include to /opt/rocm/include with rocm/5.4.0. Using the older include locations will emit an error starting with rocm/6.0.0.

Currently the rocm/5.5.0 modules on tioga on not setting ${HIP_PATH}, which causes build errors when running

cd SW4CK/src
module load rocm/5.5.0
make -f Makefile.hip

in the form

ld.lld: error: /lib/libm.so is incompatible with elf64-x86-64
ld.lld: error: /lib/libdl.so is incompatible with elf64-x86-64
ld.lld: error: /lib/libm.so is incompatible with elf64-x86-64
...

due to a damaged -L path in this file. A temporary workaround is just to add export HIP_PATH=${ROCM_PATH} by the compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions