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

Satish Balay balay at mcs.anl.gov
Thu Aug 21 20:03:26 CDT 2014


Why downgrade?

Satish

On Thu, 21 Aug 2014, Barry Smith wrote:

> 
> 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