dolfin & petsc

Gideon Simpson gideon.simpson at
Fri Oct 17 11:08:41 PDT 2014

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:

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

More information about the macports-users mailing list