GEOS icon indicating copy to clipboard operation
GEOS copied to clipboard

Initial HIP implementation from Crusher

Open wrtobin opened this issue 3 years ago • 2 comments

No in-code changes other than accomodating TPL version differences

https://github.com/GEOSX/LvArray/pull/248

wrtobin avatar Feb 23 '22 16:02 wrtobin

@wrtobin do we have an associated TPL PR?

TotoGaz avatar May 24 '22 22:05 TotoGaz

@wrtobin do we have an associated TPL PR?

@TotoGaz Not yet as we're starting to move to Spack and spack environments to do our TPL build and install and host-file generation.

@bmhan12 is working on that process, I might be stepping over to push that forward after this goes in. But once we have that in place it will include a crusher spack environment where installation of the TPLs should be possible via only:

spack env activate crusher
spack install -j 8

Here is a brief set of spack specs that allow the minimal install and usage of hip on a platform that support it:

parmetis%[email protected],
pugixml%[email protected],
[email protected]%[email protected],
[email protected]%[email protected]+pic,
[email protected]%[email protected]~hdf5_compat+silo ^[email protected]+hl,

hypre@develop%[email protected]~int64+rocm+superlu-dist amdgpu_target=gfx90a,
[email protected]~examples+raja+rocm amdgpu_target=gfx90a ^[email protected] ^[email protected] ^[email protected]

You would need to change amdgpu_target=[TARGET] and possibly add ^[email protected] ^[email protected] ^[email protected] (changing hip version numbers) as well.

Really this build is going to be taking a while to mature as the platforms are still early and changing often.

wrtobin avatar May 24 '22 22:05 wrtobin