[Trilinos-Users] Amesos2: Did not get the expected number of non-zero vals

Nico Schlömer nico.schloemer at gmail.com
Wed Jan 6 22:59:51 EST 2016


When solving with Amesos2 like
```
  auto solver = Amesos2::create<OP,MV>(
        "Superlu",
        Teuchos::rcpFromRef(A),
        Teuchos::rcpFromRef(x),
        Teuchos::rcp(b)
        );
  solver->symbolicFactorization().numericFactorization().solve()
```
I'm getting
```
p=0: *** Caught standard std::exception of type 'std::runtime_error' :

 /build/trilinos-YY2I6y/trilinos-12.5~20160106030407/packages/amesos2/src/Amesos2_Superlu_def.hpp:716:

 Throw number = 2

 Throw test that evaluated to true: nnz_ret !=
as<int>(this->globalNumNonZeros_)

 Did not get the expected number of non-zero vals
```
on a matrix that solves cleanly with Belos, for example.

Any idea on what might be going wrong?

Cheers,
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160107/321ee08f/attachment.html>


More information about the Trilinos-Users mailing list