[petsc-users] hypre / hip usage
Jed Brown
jed at jedbrown.org
Fri Jan 21 08:19:05 CST 2022
Mark Adams <mfadams at lbl.gov> writes:
> Two questions about hypre on HIP:
>
> * I am doing this now. Is this correct?
>
> '--download-hypre',
> '--download-hypre-configure-arguments=--enable-unified-memory',
> '--with-hypre-gpuarch=gfx90a',
I's recommended to use --with-hip-arch=gfx90a, which forwards to Hypre.
> * -mat_type hypre fails, so I am not using a -mat_type now.
> Just -vec_type hip.
> Hypre does seem to be running on the GPU from looking at scaling data and
> comparing it to GAMG.
> Is there a way to tell from log_view data that hypre is running on the GPU?
Is it clear from data transfer within PCApply?
I think it should (but might not currently) say in -ksp_view output.
More information about the petsc-users
mailing list