dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18423
Re: [Bug 587826] [NEW] Please add support for PETSc 3.1
On 31/05/10 10:46, Johannes Ring wrote:
> Public bug reported:
>
> 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
>
I fixed this a while ago, but it must have become 'unfixed'. I'll take
another look.
I haven't been using PETSc 3.1 since SLEPc hasn't been updated (I don't
know why SLEPc hasn't been updated - the PETSc 3.0 -> 3.1 changes are
small).
Garth
> ** Affects: dolfin
> Importance: Undecided
> Status: Confirmed
>
--
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: Confirmed
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