-
Notifications
You must be signed in to change notification settings - Fork 33
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
Error while building rocALUTION for rocm5.1.x #144
Comments
Looks like an issue with your environment. Can you compile other rocm libraries successfully? |
I don't think it's the cause of the build failures you're describing here, but that version number looks like it may suffer from the problem described in ROCm/HIP#2218. You may want to apply the second patch in this gist before building hipamd. |
@ntrost57 Thanks for helping me with this one. What makes you think so? I have managed to build several other ROCm libraries (using hipcc) with no issue; for instance, rocRAND, rocSPARSE, rocSOLVER. On the other hand, I am having issues with rocFFT as well but again it seems a programming error to me. May be some CMake option I am missing? It would be very helpful if you could you share with me the CMake options you use to build this library :) @cgmb Thank you Cory for your prompt help, once again! I took note of that patch and added it to my build process. |
Can you try |
I can't use the install script because of the reasons listed in this other similar issue. But I went through your install script and I believe that the issue is the option
Might be that
disables HIP support? Then you wouldn't compile the above code that gives me error. To confirm this, i will try to compile with |
We are testing for both, host and device build. If you compile with |
@ntrost57 would you post your cmake configuration here? I have noticed that my version of hip is 5.1.2xx, you might be using 5.1.1? To obtain the rocm repositories i followed the instructions in your website and used the |
I have been using HIP 5.1.20531-cacfa990 (rocm-5.1.1) what is exactly what you pasted in the logs. |
@ntrost57 that is very interesting. I am currently using a VM to try the build but ultimately I need to install ROCm on a supercomputer, so I would like to avoid containers. Coming back to the error I get, looks like the problem is that the |
Ran into the same issue with 5.1.3. Wrote this workaround:
|
Aaand now I'm realizing what I wrote doesn't even use the converted |
Thanks for your input @stepannassyr. Indeed it is very strange, to be honest looks like a recursive definition that never ends.. so not sure it will work at runtime. I think there is definitely an issue somewhere in rocm.. |
This issue is not present anymore in ROCm 5.2, although I found another one in
Had to remove the code in the |
Hello @dipietrantonio. As the original issue is resolved, I am closing this issue. The new comment about ruge_stueben_amg.hpp is copied to a new issue (#151). |
Hi,
I am trying to build rocm5.1 from source, and this time I am blocked by a build error in rocALUTION.
Below is the build error. Here is the version I am using
The text was updated successfully, but these errors were encountered: