[petsc-users] Differences in PETSC between 3.4.4 and 3.5.0
Evan Um
evanum at gmail.com
Wed Aug 27 18:05:04 CDT 2014
Dear Satish,
NERSC system does not have the latest version (3.5.0) yet. I am going to
install it myself and test it.
Regards,
Evan
On Thu, Aug 21, 2014 at 6:03 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 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);
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140827/3e7852e6/attachment.html>
More information about the petsc-users
mailing list