[Trilinos-Users] MueLu + Belos + Epetra Runtime Error
Lin, Shilei
S1LIN at CSBSJU.EDU
Sat Feb 18 17:35:19 EST 2017
Here is the Code.
________________________________
From: Lin, Shilei
Sent: Saturday, February 18, 2017 4:33:45 PM
To: trilinos-users at trilinos.org
Subject: MueLu + Belos + Epetra Runtime Error
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/b9d1d106/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MueLuBelosEpetra.cc
Type: text/x-c++src
Size: 7167 bytes
Desc: MueLuBelosEpetra.cc
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170218/b9d1d106/attachment.bin>
More information about the Trilinos-Users
mailing list