dolfin & petsc

Sean Farley sean at
Fri Oct 17 11:15:21 PDT 2014

Gideon Simpson writes:

> I have macports petsc 3.5.2 installed, and i tried installing  sudo port install dolfin +mpich +suitesparse +petsc +slepc.  I got an error that looks like there was some break in the functionality of Petsc, at least with regard to dolfin:
> _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dolfin/dolfin/work/dolfin-1.4.0/dolfin/la/STLFactory.cpp
> :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dolfin/dolfin/work/dolfin-1.4.0/dolfin/la/PETScKrylovSolver.cpp:528:62: error: use of undeclared identifier 'SAME_PRECONDITIONER'
> :info:build     ierr = KSPSetOperators(_ksp, _matA->mat(), _matP->mat(), SAME_PRECONDITIONER);
> The log file is a bit too large to attach.

It looks like this is just outdated but I can't test because dolfin is
currently broken due to scientific python (will be fixed in the next

Either way, can you create a ticket for this so I can track it?

More information about the macports-users mailing list