← Back to team overview

dolfin team mailing list archive

Re: What's the deal with PETSC_ARCH?

 

On Mon, Aug 23, 2010 at 05:53:33PM +0100, Garth N. Wells wrote:
> On Mon, 2010-08-23 at 18:52 +0200, Anders Logg wrote:
> > On Mon, Aug 23, 2010 at 06:50:12PM +0200, Anders Logg wrote:
> > > On Mon, Aug 23, 2010 at 09:48:02AM -0700, Johan Hake wrote:
> > > > On Monday August 23 2010 09:32:40 Anders Logg wrote:
> > > > > On Mon, Aug 23, 2010 at 09:25:29AM -0700, Johan Hake wrote:
> > > > > > Hello!
> > > > > >
> > > > > > CMake works smooth here. Much nicer config messages too. You are doing a
> > > > > > great job getting this up and running!
> > > > > >
> > > > > > The only test that wont pass for me now is SLEPc. It complains about
> > > > > > PETSC_ARCH not beeing set or set to empty.
> > > > > >
> > > > > > I have installed PETSc and SLEPc using dorsal.
> > > > > >
> > > > > > Johan
> > > > >
> > > > > Which platform are you running?
> > > >
> > > > Lucid
> > > >
> > > > > Is PETSC_ARCH set?
> > > >
> > > > Nope.
> > > >
> > > > > It's very easy to debug. Just add stuff like
> > > > >
> > > > >   message("PETSC_ARCH = ${PETSC_ARCH}")
> > > > >
> > > > > in the file cmake/FindSLEPc.cmake.
> > > >
> > > > I see that the FindPETSc.cmake includes some logic for when PETSC_ARCH is not
> > > > set. This is lacking in FindSLEPc.cmake, which requires PETSC_ARCH to be set.
> > >
> > > ok, now I see what the problem is. I'll see if I can fix it.
> > >
> > > The way Dorsal installs PETSc has changed. It now does the PETSc-style
> > > installation = no installation which required PETSC_DIR and PETSC_ARCH
> > > to be set.
> >
> > Garth, why do we set PETSC_ROOT_DIR? How is that different from
> > PETSC_DIR?
> >
>
> Don't know.

ok. I'll change it then.

--
Anders



Follow ups

References