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

Nico Schlömer nico.schloemer at gmail.com
Thu Jan 7 06:00:59 EST 2016


Thanks Andrey, this is indeed the issue. I was able to compile an MWE, cf. <
https://github.com/trilinos/Trilinos/issues/70>.

Cheers,
Nico

On Thu, Jan 7, 2016 at 10:16 AM Andrey Prokopenko <aprokop at sandia.gov>
wrote:

> 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 listTrilinos-Users at trilinos.orghttps://trilinos.org/mailman/listinfo/trilinos-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160107/15a9390c/attachment.html>


More information about the Trilinos-Users mailing list