← Back to team overview

dolfin team mailing list archive

Re: Problems with PETSc after change to petsc.conf

 


Anders Logg wrote:
> I can't compile against PETSc after the latest updates to petsc.conf
> (see below). I have configured PETSc with --download-mpich=yes so the
> extra flags are probably needed.
>

Can you add just the MPI flags? I removed the extra include paths
because they include a path for UMFPACK in the PETSc tree, which is in
general a different version to the one installed under /usr/include (or
another location) and against which DOLFIN is linked. This will lead to
an error if there is a change in the UMFPACK interface.

Garth


> Can we change back?
> 
> /Anders
> 
> 
> In file included from ../../../src/kernel/la/dolfin/PETScManager.h:20,
>                  from ../../../src/kernel/la/dolfin/PETScVector.h:18,
>                  from ../../../src/kernel/la/dolfin/SparseVector.h:13,
>                  from ../../../src/kernel/la/dolfin/Vector.h:12,
>                  from
>                  ../../../src/kernel/function/dolfin/Function.h:13,
>                  from ../../../src/kernel/form/dolfin/Form.h:12,
>                  from
>                  ../../../src/kernel/form/dolfin/BilinearForm.h:10,
>                  from FEM.cpp:10:
> /usr/local/lib/petsc//include/petsc.h:95:17: error: mpi.h: No such
> file or directory
> /usr/local/lib/petsc//include/petscmath.h:16: error: 'MPI_Datatype'
> does not name a type
> /usr/local/lib/petsc//include/petscmath.h:17: error: 'MPI_Datatype'
> does not name a type
> /usr/local/lib/petsc//include/petscmath.h:274: error: 'MPI_Comm' has
> not been declared
> /usr/local/lib/petsc//include/petscmath.h:275: error: 'MPI_Comm' has
> not been declared
> /usr/local/lib/petsc//include/petscmath.h:276: error: 'MPI_Comm' has
> not been declared
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
> 



Follow ups

References