[petsc-users] Runtime options to activate GPU offloading of PETSc solvers

TROTIGNON Laurent laurent.trotignon at cea.fr
Wed Aug 23 04:15:43 CDT 2023


Hello all,
In the on line docs of PETSc, I found this paragraph :


< PETSc uses a single source programming model where solver back-ends are selected as runtime options and configuration options with no changes to the API.

Users should (ideally) never have to change their source code to take advantage of new backend implementations. >

I am looking for an example of runtime options that enable activation of GPU offloading of PETSc solvers.
I am not sure that runtime options for GPU offloading are currently available ?
I am currently using petsc/3.19.2 configured with cuda and nvhpc/22.2.
Best regards
Laurent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230823/6b0ce223/attachment.html>


More information about the petsc-users mailing list