← Back to team overview

dolfin team mailing list archive

[Bug 706330] [NEW] PETScMatrix doesn't work properly from Python

 

Public bug reported:

Some Python demos (e.g. la/eigenvalue/python) are failing because of a
problem with the use of PETScMatrix (Matrix seems to be fine).

The error during assembly is weird:

python: /home/garth/code/fenics/dolfin.d/dolfin-
all/dolfin/la/PETScMatrix.cpp:271: virtual void
dolfin::PETScMatrix::setrow(dolfin::uint, ....

PETScMatrix::setrow shouldn't be called. Is there a problem with the
SWIG typemaps (that is't trying to copy data)?

** Affects: dolfin
     Importance: Critical
     Assignee: Johan Hake (johan-hake)
         Status: Confirmed

** Changed in: dolfin
   Importance: Undecided => Critical

** Changed in: dolfin
       Status: New => Confirmed

** Changed in: dolfin
     Assignee: (unassigned) => Johan Hake (johan-hake)

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/706330

Title:
  PETScMatrix doesn't work properly from Python

Status in DOLFIN:
  Confirmed

Bug description:
  Some Python demos (e.g. la/eigenvalue/python) are failing because of a
  problem with the use of PETScMatrix (Matrix seems to be fine).

  The error during assembly is weird:

  python: /home/garth/code/fenics/dolfin.d/dolfin-
  all/dolfin/la/PETScMatrix.cpp:271: virtual void
  dolfin::PETScMatrix::setrow(dolfin::uint, ....

  PETScMatrix::setrow shouldn't be called. Is there a problem with the
  SWIG typemaps (that is't trying to copy data)?





Follow ups

References