PETSc does not support 'ilutp' . Sequential superlu supports it. You can 
install petsc with superlu, then use runtime options to activate 'ilutp' , e.g.,
petsc/src/ksp/ksp/tutorials
./ex2 -ksp_view -pc_type ilu -pc_factor_mat_solver_type superlu -help |grep 
superlu
...
  -mat_superlu_replacetinypivot: <FALSE : FALSE> ReplaceTinyPivot (None)
  ...
  -mat_superlu_ilu_droptol <0.0001 : 0.0001>: ILU_DropTol (None)
  -mat_superlu_ilu_filltol <0.01 : 0.01>: ILU_FillTol (None)
  -mat_superlu_ilu_fillfactor <10. : 10.>: ILU_FillFactor (None)
  -mat_superlu_ilu_droprull <now 9 : formerly 9>: ILU_DropRule (None)

Hong
________________________________
From: petsc-users <[email protected]> on behalf of Ahmed Mansur 
<[email protected]>
Sent: Thursday, November 3, 2022 8:49 AM
To: petsc-users <[email protected]>
Subject: [petsc-users] Doubt about PCILU

Hi, I'm trying to use ILU as GMRES preconditioner (using PCILU), my question is 
how use ILU as 'ilutp' type like MATLAB ( ILU factorization with threshold and 
pivoting.  )
Thanks. Regards

Reply via email to