-
Notifications
You must be signed in to change notification settings - Fork 94
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
Issue about compiling Ginkgo with rocm 6.0 #1529
Comments
Thanks a lot for the report and the details! I believe this is normal, we have not yet tested ROCm 6.0 and thankfully, ROCm 6.0 now enforces the FHS standard within its directory. This is generally good news as many things can be simplified, but we have not proofed our CMake build system for that yet. Alternatively, maybe we can finally adopt the native HIP language support within CMake, and rewrite (simplify) our CMake HIP build system, which should also sidestep the issue. |
Ok thanks the quick reply! |
I can confirm that #1334 works on ROCm 6.0.2 |
I managed to build ginkgo 1.7.0 with ROCm 6.0 by setting the following env vars. That is, without benchmarks which are affected by #1566
|
Should be fixed by #1334 |
@upsj Line 3 in a8a407f
Furthermore, Line 20 in a8a407f
It would be nice if Ginkgo could auto-detect ROCm version and use the correct paths for 6.0 by default 😉 |
Actually, do you need any special handling for the paths at all? CMake can auto-detect ROCm/HIP just fine... |
The only reason we need this right now is to enable autodetection of the hipBLAS/... paths, but that should be handled correctly by an environment where they are all part of the |
I recently had trouble compiling Ginkgo 1.6 with rocm 6.0. At first I had an issue with
cmake
that could not find a function calledhip_add_library
. After settingCMAKE_MODULE_PATH
, I encountered/opt/rocm/hip/../llvm/bin/clang: not found
because the directoryhip
does not exist in/opt/rocm
. After creating this directory, I encounteredAre you aware of such problems ?
I attach two docker files, one that builds fine with rocm 5.7.3 (Dockerfile-rocm5.7.3.txt) and the one failing with rocm 6.0 (Dockerfile-rocm6.0.txt). Please let me know if you find something wrong in these files.
The text was updated successfully, but these errors were encountered: