Re: [petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-05-01 Thread Kevin Buckley
On 2 May 2017 at 17:22, Jed Brown wrote: >> >> At the time I was building PISM, I believe that was a requirement, > > That hasn't been a suggestion in the PISM distribution since 2009, as > far as I know (and checking the Git history). Just checked, my notes indicate that my first PISM build was

Re: [petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-05-01 Thread Kevin Buckley
On 24 April 2017 at 15:21, Jed Brown wrote: > There is no harm in including all external packages that you might need. > >> In terms of laying out PETSc, can (should ?) one use PETSC_DIR >> and PETSC_ARCH: to combine everything PETSc-related under one, >> top-level, say >> >> /path/to/PETSC/3.7.5

Re: [petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-05-01 Thread Jed Brown
Kevin Buckley writes: > On 24 April 2017 at 14:11, Matthew Knepley wrote: > >>> The original package has a requirement for >>> >>> --with-clanguage=cxx >> >> Also, this is almost never needed. Are you sure the package needs it, or >> just uses it due to history. > > Apologies, was away for a w

Re: [petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-05-01 Thread Kevin Buckley
On 24 April 2017 at 14:11, Matthew Knepley wrote: >> The original package has a requirement for >> >> --with-clanguage=cxx > > Also, this is almost never needed. Are you sure the package needs it, or > just uses it due to history. Apologies, was away for a while. At the time I was building PI

Re: [petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-04-23 Thread Jed Brown
Kevin Buckley writes: > Been a while since I have(re)installed a PETSc, but I have just > come into install it as a dependecy for a different package to > that for which I have installed it in the past. > > The original package has a requirement for > > --with-clanguage=cxx > > whereas the curr

Re: [petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-04-23 Thread Matthew Knepley
On Sun, Apr 23, 2017 at 7:08 PM, Kevin Buckley < kevin.buckley.ecs.vuw.ac...@gmail.com> wrote: > Been a while since I have(re)installed a PETSc, but I have just > come into install it as a dependecy for a different package to > that for which I have installed it in the past. > > The original packa

Re: [petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-04-23 Thread Barry Smith
There are two ways to build different versions of PETSc needed by other packages. 1) Use PETSC_DIR and PETSC_ARCH to distinguish different installs. For example to build a version of PETc that uses hypre and one that doesn't you can do one install with for example PETSC_ARCH=arch-basic and

[petsc-dev] PETSC_DIR and PETSC_ARCH: used to distinguish between multiple applications ?

2017-04-23 Thread Kevin Buckley
Been a while since I have(re)installed a PETSc, but I have just come into install it as a dependecy for a different package to that for which I have installed it in the past. The original package has a requirement for --with-clanguage=cxx whereas the current one doesn't, but it does have a req