← Back to team overview

dolfin team mailing list archive

Dolfin 0.6.1 compilation problem with petsc from debian/sid

 

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




Follow ups

References