Open reuterbal opened 3 months ago
Perhaps we can wait a bit for this after #106 is merged in develop? Or merge here and keep a mental note that this will also need another PR to develop in addition, as 'redgreengpu' will not get merged to develop.
Yes, I fully agree. In fact, we don't have any means of testing this ourselves, yet, and therefore might want to keep this open until confirmed functional. It would still be useful to include this into redgreengpu even though it is not going to find its way into the main branches, since it continues to be the fallback for Cray+AMD platforms.
We can merge the source code change then. I am also okay for you to add the cmake changes, but perhaps with the name "ECTRANS_GPU_HIP_INCLUDE_DIRS" instead of "...INCLUDES". This could be added to this PR as well.
These have been obtained from vendor collaboration and supposedly fix compilation issue with with ROCm 5.7.1, CCE 17.0.0, OMP and GPU aware MPI.
ROCm 6.1.1 seems to cause additional issues with the discovery of include paths for hipblas, hipfft and the rocm equivalents. A potential fix is this:
However, I'm hoping there are proper library targets that could/should be used instead, and which needs to be examined once we have access to the newer software stack versions.