After updating to FEniCS 2017.1 and trying:
import dolfin as df a = df.PETScMatrix()
we get
E AttributeError: 'module' object has no attribute 'PETScMatrix'
It seems PETScMatrix is not in dolfin anymore. Can anybody tell us where is it now?
PETScMatrix
dolfin
Hi,
it has nothing to do just with a matrix. Run
print df.linear_algebra_backends()
and you'll see you have no PETSc backend. How did you install FEniCS? If I use docker-way with the latest image PETSc is available.