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

Andrey Prokopenko aprokop at sandia.gov
Thu Jan 7 04:16:42 EST 2016


Nico,

I remember getting similar errors. Is your situation similar to the bug 
#6340 (https://software.sandia.gov/bugzilla/show_bug.cgi?id=6340)? In 
that situation, I had a matrix with shifted maps (minimal GID != 0) on 
more than one processor rank.

-Andrey

On 01/06/2016 08:59 PM, Nico Schlömer wrote:
> 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
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160107/ce638715/attachment.html>


More information about the Trilinos-Users mailing list