← Back to team overview

dolfin team mailing list archive

[Bug 587826] Re: Please add support for PETSc 3.1

 

** Changed in: dolfin
       Status: Fix Committed => Fix Released

-- 
Please add support for PETSc 3.1 
https://bugs.launchpad.net/bugs/587826
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.

Status in DOLFIN: Fix Released

Bug description:
Hi,

PETSc 3.1 was released earlier this year (end of March) but it does not yet work with DOLFIN. It would be nice to add support for this version of PETSc. Here is the error message on the buildbot (linux64-exp):

mpic++ -o dolfin/la/PETScLUSolver.os -c -Wall -pipe -ansi -BOOST_UBLAS_NDEBUG -DDEBUG -g -O2 -Werror -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.9.7\" -DHAS_LAPACK=1 -DHAS_TRILINOS=1 -DHAS_ZLIB=1 -DHAS_UMFPACK=1 -DHAS_PETSC=1 -DHAS_CHOLMOD=1 -DHAS_CGAL=1 -DHAS_SCOTCH=1 -DHAS_PARMETIS=1 -fno-strict-aliasing -frounding-math -fPIC -I. -I/work/jhbuildbot/fenics/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/libxml2 -I/work/jhbuildbot/local/include -I/usr/include -I/work/jhbuildbot/local/include/trilinos -I/usr/include -I/usr/include/suitesparse -I/work/jhbuildbot/src/petsc-3.1-p2/local/linux-gnu-cxx-debug/include -I/work/jhbuildbot/src/petsc-3.1-p2/local/include -I/work/jhbuildbot/local/include -I/work/jhbuildbot/local/lib -I/usr/include/suitesparse -I/work/jhbuildbot/src/CGAL-3.5.1/Build/local/include -I/work/jhbuildbot/src/scotch_5.1/local/include -I/usr/include dolfin/la/PETScLUSolver.cpp
dolfin/la/PETScLUSolver.cpp: In member function ‘void dolfin::PETScLUSolver::init()’:
dolfin/la/PETScLUSolver.cpp:176: error: ‘PCFactorSetShiftNonzero’ was not declared in this scope

PETSc 3.1 was also recently introduced in Debian replacing the PETSc 3.0 packages. DOLFIN in Debian is therefore currently broken: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583419





References