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

2015-10-26 Thread Dominic Meiser



On 10/25/2015 10:40 AM, Florian Lindner wrote:

Hello,

our build system Travis uses the old Ubuntu Precice Pangolin version that comes 
with PETSc 3.1.


FWIW petsc master or maint build relatively quickly on travis' build 
machines (2-5 minutes depending on how many third party packages you 
need). If you're able to use travis' containerized infrastructure you 
can cache the PETSc builds reducing the PETSc build times to near 0. 
I've done that for a couple of my projects and it turned out to be 
really easy, see for example here:


https://github.com/d-meiser/SuperContinuum

Have a look at .travis.yml and utilities/get_petsc.sh.

Cheers,
Dominic



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

Thanks,
Florian



--
Dominic Meiser
Tech-X Corporation
5621 Arapahoe Avenue
Boulder, CO 80303
USA
Telephone: 303-996-2036
Fax: 303-448-7756
www.txcorp.com


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

2015-10-25 Thread Barry Smith

> On Oct 25, 2015, at 11:40 AM, Florian Lindner  wrote:
> 
> 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?

   In version 3.1 it is called PetscTruth

   PETSc version 3.1 is really, really old, we don't recommend you use it for 
any purpose since we don't support it.

  Barry


> 
> Is there a PPA known that provides newer PETSc versions to Precice Pangolin
> 
> Thanks,
> Florian
> 



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

2015-10-25 Thread Matthew Knepley
On Sun, Oct 25, 2015 at 11:40 AM, Florian Lindner 
wrote:

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

Matt


> 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


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

2015-10-25 Thread Florian Lindner
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

Thanks,
Florian