With dolfin from todays 1.0.x I'm getting this error from code that
worked yesterday:

*** Warning: block_bc: zero or semi-definite block (2,2), using sign +1
Calculated signs of diagonal blocks:[1, None, 1]
EpetraMatrix::setrow is implemented inefficiently
Traceback (most recent call last):
  File "/home/martinal/dev/cbc/invbench/scripts/invbench", line 5, in <module>
    simfra.introrun.run(locals())
  File "/home/martinal/dev/cbc/invbench/src/simfra/introrun.py", line 79, in run
    return func(**kwargs)
  File "/home/martinal/dev/cbc/invbench/src/invbench/oneshot.py", line
168, in case_fruitfly_oneshotblock
    P = block_mat([[ML(Puu), 0, 0],
  File 
"/home/martinal/opt/fenics/dorsal-unstable/lib/python2.7/site-packages/block/algebraic/trilinos/MLPrec.py",
line 25, in __init__
    self.ml_prec = MultiLevelPreconditioner(A.down_cast().mat(), 0)
  File 
"/home/martinal/opt/fenics/dorsal-unstable/lib/python2.7/site-packages/block/__init__.py",
line 75, in la_object
    obj.reference = self
AttributeError: 'SwigPyObject' object has no attribute 'reference'

What's wrong here? Dolfin or cbc.block bug?

Martin

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to