[Trilinos-Users] MueLu + Belos + Epetra Runtime Error
Lin, Shilei
S1LIN at CSBSJU.EDU
Sat Feb 18 17:33:45 EST 2017
Dear developers / Users,
I am try to modify an example code from the MueLu packages. I have attahed my source code. The code will compile, however, it won't work when I set the Preconditioner to the Belos linear problem.
In line 152: //Problem->setLeftPrec(M);
This is the error message from runtime:
terminate called after throwing an instance of 'Belos::EpetraOpFailure'
what(): /home/shilei/Documents/Source/Trilinos/packages/belos/epetra/src/BelosEpetraAdapter.cpp:816:
Throw number = 1
Throw test that evaluated to true: info != 0
Belos::OperatorTraits::Apply (Epetra specialization): Calling the Epetra_Operator object's Apply() method failed, returning a nonzero error code of -1.
When I disabled preconditioner, the programm actually works.
Also, I can not find an example for using Belos as solver and MueLu as preconditioner with Epetra.
Thanks!
Shilei Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170218/09a78ad8/attachment.html>
More information about the Trilinos-Users
mailing list