[petsc-users] Using CPR with PETSC and GPU
Renato E Poli
rpoli at utexas.edu
Fri Jun 12 17:04:30 CDT 2026
Hi
We are trying to use a CPR preconditioner for a multiphase flow solver
using the fieldsplit option. It seems to work. We see a reduced number of
iterations.
However, it is not using the GPU effectively.
Is there any documentation that could help?
Is the fieldsplit+GPU supported? (v. 3.25.2)
These are the options we are using (after a bit of trial-and-error):
-ksp_type fgmres
-ksp_gmres_restart 40
-pc_fieldsplit_type multiplicative
-fieldsplit_pressure_ksp_type preonly
-fieldsplit_pressure_pc_type hypre
-fieldsplit_pressure_pc_hypre_type boomeramg
-fieldsplit_other_ksp_type gmres
-fieldsplit_other_ksp_gmres_restart 5
-fieldsplit_other_ksp_max_it 5
-fieldsplit_other_ksp_rtol 1e-1
-fieldsplit_other_pc_type bjacobi
-fieldsplit_other_sub_pc_type ilu
-fieldsplit_other_sub_pc_factor_reuse_ordering true
-fieldsplit_other_sub_pc_factor_reuse_fill true
Thank you,
Renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260612/fbfe5ed1/attachment.html>
More information about the petsc-users
mailing list