On Wed, Aug 23, 2023 at 9:27 AM TROTIGNON Laurent
wrote:
> 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
For example, src/ksp/ksp/tutorials/ex1.c, which can be tested with these
options. "-mat_type aijcusparse -vec_type cuda" enables GPU offloading.
test:
suffix: 2_aijcusparse
requires: cuda
args: -pc_type sor -pc_sor_symmetric -ksp_monitor_short
-ksp_gmres_cgs_refinement_type refine_always -mat_ty
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 ad