[petsc-users] PetscBool in PETSc 3.1? (Ubuntu Precice)

Matthew Knepley knepley at gmail.com
Sun Oct 25 11:52:56 CDT 2015

On Sun, Oct 25, 2015 at 11:40 AM, Florian Lindner <mailinglists at xgm.de>

> Hello,
> our build system Travis uses the old Ubuntu Precice Pangolin version that
> comes with PETSc 3.1.
> While trying to activate petsc for our CI tests, I get the message that
> the type PetscBool wasn't found. I downloaded
> http://packages.ubuntu.com/precise/libpetsc3.1-dev and grepped for
> PetscBool, found non.
> Just to make sure I didn't screw it up, is it true, that there is no
> PetscBool in version 3.1?
> Is there a PPA known that provides newer PETSc versions to Precice Pangolin

It used to be called PetscTruth, but we could not handle the truth, so we
changed it. I think
you can just add

typedef PetscTruth PetscBool



> Thanks,
> Florian

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151025/869ec663/attachment.html>

More information about the petsc-users mailing list