blt icon indicating copy to clipboard operation
blt copied to clipboard

Compiler error with gcc+hip

Open yslan opened this issue 2 years ago • 0 comments

Hi,

Is it possible to split the hip compiler from the wrapper? The current hip build seems to only support clang.

https://github.com/LLNL/blt/blob/29eecef7652728ec37d9fe0b7d7f41e3184ac7eb/cmake/thirdparty/BLTSetupHIP.cmake#L83-L87

I'm trying to compile Ascent on Frontier using PrgEnv-gnu, but the gcc doesn't support hip yet.

g++: error: unrecognized command-line option '--rocm-path=/opt/rocm-5.3.0'

https://github.com/Alpine-DAV/ascent/issues/1192

Thanks!

yslan avatar Nov 01 '23 16:11 yslan