[Trilinos-Users] [11.12.1] Amesos with SuperLU_Dist 3.3 -- build error
Denis Davydov
davydden at gmail.com
Thu Jan 15 05:22:00 MST 2015
Hi Nate,
Thanks for posting your solution. Compiles fine for me ;-)
Kind regards,
Denis
> On 15 Jan 2015, at 01:37, Roberts, Nathan V. <nvroberts at alcf.anl.gov> wrote:
>
> Denis,
>
> I’ve run into the same issue; I didn’t submit a patch since I wasn’t sure what was required to maintain compatibility with previous versions of SuperLUDist (Amesos advertises compatibility <http://trilinos.org/packages/amesos/> with version 2.5), but here’s what I do to resolve.
>
> Lines 476 and 477 of packages/amesos/src/Amesos_Superludist.cpp read:
>
> else if( IterRefine_ == "DOUBLE" ) PrivateSuperluData_->options_.IterRefine = DOUBLE;
> else if( IterRefine_ == "EXTRA" ) PrivateSuperluData_->options_.IterRefine = EXTRA;
>
> I just changed DOUBLE to SLU_DOUBLE and EXTRA to SLU_EXTRA:
>
> else if( IterRefine_ == "DOUBLE" ) PrivateSuperluData_->options_.IterRefine = SLU_DOUBLE;
> else if( IterRefine_ == "EXTRA" ) PrivateSuperluData_->options_.IterRefine = SLU_EXTRA;
>
> After that, Amesos_SuperLUdist.cpp compiled. My experience has been that SuperLUDist 3.3 does work fine with Amesos, despite the docs only indicating support for 2.5. But I haven’t done any formal testing.
>
> Cheers,
> Nate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150115/353ba851/attachment.html>
More information about the Trilinos-Users
mailing list