On 18 November 2011 13:52, Joachim Berdal Haga <j...@simula.no> wrote: > Yep, sorry, forgot the list. Here's a patch for cbc.block which removes the > workaround, can you see if it helps? > -j.
Now I get: 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/PyTrilinos/ML.py", line 1442, in __init__ this = _ML.new_MultiLevelPreconditioner(*args) NotImplementedError: Wrong number or type of arguments for overloaded function 'new_MultiLevelPreconditioner'. Possible C/C++ prototypes are: ML_Epetra::MultiLevelPreconditioner::MultiLevelPreconditioner(Epetra_RowMatrix const &,bool const) ML_Epetra::MultiLevelPreconditioner::MultiLevelPreconditioner(Epetra_RowMatrix const &,Teuchos::ParameterList const &,bool const) ML_Epetra::MultiLevelPreconditioner::MultiLevelPreconditioner(ML_Operator *,Teuchos::ParameterList const &,bool const) ML_Epetra::MultiLevelPreconditioner::MultiLevelPreconditioner(ML_Operator *,Teuchos::ParameterList const &,Epetra_RowMatrix **,Teuchos::ParameterList *,int,bool const) ML_Epetra::MultiLevelPreconditioner::MultiLevelPreconditioner(Epetra_RowMatrix const &,Epetra_RowMatrix const &,Epetra_RowMatrix const &,Teuchos::ParameterList const &,bool const,bool const) ML_Epetra::MultiLevelPreconditioner::MultiLevelPreconditioner(Epetra_RowMatrix const &,Epetra_RowMatrix const &,Epetra_RowMatrix const &,Epetra_RowMatrix const &,Teuchos::ParameterList const &,bool const) ML_Epetra::MultiLevelPreconditioner::MultiLevelPreconditioner(Epetra_MsrMatrix const &,ML_Operator *,AZ_MATRIX *,int *,Teuchos::ParameterList const &,bool const) -- 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