-
Notifications
You must be signed in to change notification settings - Fork 191
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
Spack builds with ROCM 6.0 #1023
Comments
Hi Paul, is rocm 6.0 available already? |
Not yet. |
I won't be able to test then, but it seems these includes should be updated: hypre/src/utilities/_hypre_utilities.hpp Lines 213 to 230 in 40ef37a
|
Oh wait, they are already in the new format you mentioned. Did you manage to build hypre outside spack? |
no. I am struggling with: Warning: The --amdgpu-target option has been deprecated and will be removed in the future. Use --offload-arch instead. |
Is |
PS: we need to change |
[pmullown@x1000c2s1b1n0 ~]$ ls /home/amd/rocm-6.0.0-12969/include/hip/hip_runtime.h |
Ok! Can you compile other HIP codes? How about a simple "hello_world"? |
Yes. I can build and run code with this rocm. |
Good! That's all that I could think of. Maybe others have more ideas... Hope you manage to find the issue. Otherwise, I can take a look when this becomes public. |
Fyi, I was able to get hypre to build. The issue was in how a HIP_PATH variable was getting set in spack. I'm now debugging run time failures on new hardware. |
Great! Thanks for the update! |
I am trying to build with ROCM 6.0. I am seeing:
==> Error: NoHeadersError: Unable to locate rocsparse headers in /home/amd/rocm-6.0.0-12969/include
/home/users/pmullown/spack-manager/spack/var/spack/repos/builtin/packages/hypre/package.py:245, in configure_args:
242 rocm_inc = ""
243 for pkg in rocm_pkgs:
244 if "^" + pkg in spec:
The issue, I think, is that header files are now in:
/home/amd/rocm-6.0.0-12969/include/rocsparse/rocsparse.h
With ROCM 5.4.3, the paths often look like:
/opt/rocm-5.4.3/rocsparse/include/rocsparse.h
I'm not sure how to fix the hypre package.py to make this work. Any help is appreciated!
The text was updated successfully, but these errors were encountered: