Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ausellis0 opened this issue Jun 21, 2023 · 0 comments
Open

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

ausellis0 opened this issue Jun 21, 2023 · 0 comments

Comments

@ausellis0
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant