[Trilinos-Users] [EXTERNAL] Re: Amesos2: SuperLU_Dist
Rajamanickam, Sivasankaran (-EXP)
srajama at sandia.gov
Thu Jun 2 17:48:55 EDT 2016
Mario,
The Amesos2 Epetra adapeter was not extended for Epetra 64 bit. Can you use Tpetra ?
Thanks
Siva
________________________________________
From: Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf of Juha, Mario Jesus <juham at rpi.edu>
Sent: Thursday, June 2, 2016 2:25 PM
To: trilinos-users at trilinos.org
Subject: [EXTERNAL] Re: [Trilinos-Users] Amesos2: SuperLU_Dist
Hi developers /users,
I am trying to use Amesos2 with SuperLU_Dist_4.2. I am having several incompatibility between the 32 bit and 64 bit implementation of the local ordinal variable. If you have a working version of Amesos2 with SuperLU_Dist (using -D_LONGINT), could you give me some ideas of how to compile and use it without errors?
I am getting the following compilation error:
src/packages/amesos2/src/Amesos2_Superludist_def.hpp:819:51: error: no matching function for call to 'Amesos2::Util::get_crs_helper<Amesos2::MatrixAdapter<Epetra_CrsMatrix>, double, long long int, long long int>::do_get(Teuchos::Ptr<const Amesos2::MatrixAdapter<Epetra_CrsMatrix> >, Teuchos::ArrayView<double>, Teuchos::ArrayView<int>, Teuchos::ArrayView<int>, SLUD::int_t&, Teuchos::Ptr<const Tpetra::Map<int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial> > >, Amesos2::EStorage_Ordering)'
ARBITRARY);
Thanks,
Mario J.
________________________________
From: Trilinos-Users [trilinos-users-bounces at trilinos.org] on behalf of Juha, Mario Jesus [juham at rpi.edu]
Sent: Wednesday, June 01, 2016 3:07 AM
To: Alicia Klinvex
Cc: trilinos-users at trilinos.org
Subject: Re: [Trilinos-Users] Amesos2: SuperLU_Dist
Reporting a possible bug in Amesos2_Superludist_def.hpp:
When using SuperLU_dist 5.0.0 with Amesos2, the function getValidParamers_impl() is throwing an exception in line:
pl->set("npcol", data_.grid.npcol, "Number of columns in the processor grid. "
"Must be set with nprow", col_row_validator);
The problem is that “data_.grid.npcol” is equal to zero always! This value must be set up in this line of the superlu_dist constructor solver:
SLUD::superlu_gridinit(data_.mat_comm, nprow, npcol, &(data_.grid));
Previous function is part of the SuperLU_dist library. Using a debugger shows that npcol and nprow are set up correctly inside the previous function, but when leaving the function, then, “data_.grid.npcol” is assigned the value of zero.
Any idea of how to fix it?
Cordially,
Mario J. Juha
________________________________
From: Alicia Klinvex [aklinvex at gmail.com]
Sent: Friday, May 27, 2016 3:37 PM
To: Juha, Mario Jesus
Cc: trilinos-users at trilinos.org
Subject: Re: [Trilinos-Users] Amesos2: SuperLU_Dist
Hello Mario,
The Trilinos CMake guide explains how to link Trilinos against pre-installed TPLs: http://trilinos.sandia.gov/Trilinos10CMakeQuickstart.txt<UrlBlockedError.aspx> Search for "Enabling support for optional Third-Party Libraries".
There's also a handy script for installing various DOE codes (including Trilinos and SuperLU_Dist) and enabling the interfaces between them, available here: https://xsdk.info/download/<UrlBlockedError.aspx>
Best wishes,
Alicia
On Fri, May 27, 2016 at 12:46 PM, Juha, Mario Jesus <juham at rpi.edu<UrlBlockedError.aspx>> wrote:
Dear developers / Users,
I am trying to use SuperLU_Dist in Amesos2, but the information is confusing. Some headers specify the the supported version of SuperLU_Dist is 2.5, other part of the code says it is supported up to version 4.0. Could you clarify this issue?
Also, how do I link my local version of SuperLU_Dist with Amesos2? I can not find an example.
Cordially,
Mario J. Juha
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at trilinos.org<UrlBlockedError.aspx>
https://trilinos.org/mailman/listinfo/trilinos-users<UrlBlockedError.aspx>
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at trilinos.org
https://trilinos.org/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list