[petsc-users] Differences in PETSC between 3.4.4 and 3.5.0

Barry Smith bsmith at mcs.anl.gov
Thu Aug 21 19:54:09 CDT 2014


On Aug 21, 2014, at 6:05 PM, Evan Um <evanum at gmail.com> 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);



More information about the petsc-users mailing list