On Aug 21, 2014, at 6:05 PM, Evan Um <[email protected]> wrote:

> Dear PETSC users,
> 
> I recently downgraded my PETSC library from version 3.5.0 to version 3.4.4. 
> For my application, most differences between the twos were changes in PETSC 
> function interfaces. For examples, I got errors such as too few arguments in 
> function call, but some errors were about the new functionality in the latest 
> version. Does anyone know about 3.4.4 functions corresponding to 
> KSPSetReusePreconditioner() and MatMumpsSetIcntl()? In advance, thanks for 
> your comments.

  Those simply did not exist at that time. You can get the effect of 
KSPSetReusePreconditioner() by passing the flag SAME_PRECONDITIONER as the 
final argument to KSPSetOperators().


  Barry

> 
> Regards,
> Evan
> 
> fetdem3d_driver_csem.cpp(330): error: identifier "KSPSetReusePreconditioner" 
> is undefined
>                         KSPSetReusePreconditioner(ksp_fetd_dt,PETSC_TRUE); 
> 
> fetdem3d_driver_csem.cpp(493): error: identifier "MatMumpsSetIcntl" is 
> undefined
>         MatMumpsSetIcntl(F_dt, icntl, ival);

Reply via email to