dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02535
Re: Dolfin 0.6.1 compilation problem with petsc from debian/sid
On Thu, May 11, 2006 at 04:03:26PM +0800, LUK ShunTim wrote:
> Hello,
>
> I encountered this problem when trying to compile dolfin on debian/sid
> with the debian petsc-dev package which installs libpetsc2.3.1 and
> libpetsc2.3.1-dev plus the some mpich libraries.
>
> My configure command is
>
> PETSC_DIR=/usr/lib/petsc PETSC_ARCH=`petscarch` BOPT=0 \
> ./configure.local --disable-curses --disable-mpi --enable-pydolfin
>
> The environmental variables are set according to the package maintainer
> Adam Powell's instructions.
>
> Here's the relevant output
> ".....
> using PETSC_DIR=/usr/lib/petsc
> enabling compilation of PyDOLFIN
> checking for configarch... no
> *** Unable to find PETSc 2.3.0 on your system.
> *** Use --with-petsc-dir=<path> to specify the correct path for PETSc,
> *** or set the environment variable PETSC_DIR to the correct path.
> *** PETSc is available at http://www-unix.mcs.anl.gov/petsc/petsc-2/
> ......"
>
> It's sort of strange that it did find PETSC_DIR set and requested it again.
>
> I'm not sure it's debian specific or not.
>
> Thanks in advance,
> ST
The configure script for DOLFIN checks for configarch in $PATH and
$PETSC_DIR/bin/. You can see the test if you look in configure.ac.
Do you have configarch in any of those directories?
I haven't tried DOLFIN with Debian's PETSc for a long time since it
wasn't updated for a while, but maybe it has been now.
/Anders
Follow ups
References