On 22/08/17 14:49, Klaij, Christiaan wrote: > CALL PetscOptionsSetValue(PETSC_NULL_OBJECT,"-sub_pc_factor_shift_type","nonzero",ierr) > > since there seems to be no setter function for this (correct me > if I'm wrong). I think you want PCFactorSetShiftType. Lawrence