← Back to team overview

dolfin team mailing list archive

Problems with PETSc after change to petsc.conf

 

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


Follow ups