dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19295
Re: What's the deal with PETSC_ARCH?
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.
Johan
> Also make sure to remove CmakeCache.txt each time before testing.
>
> --
> Anders
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References