[Trilinos-Users] [EXTERNAL] Complex support using Belos LSQRSolMgr

Day, David dmday at sandia.gov
Mon Sep 3 14:14:05 MDT 2012


Einar,
I implemented LSQR.   It does appear that Belos LSQR does not support a complex scalar type at this time.
--David Day

From: Einar Otnes <eotnes at gmail.com<mailto:eotnes at gmail.com>>
Date: Monday, September 3, 2012 4:11 AM
To: "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>" <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
Subject: [EXTERNAL] [Trilinos-Users] Complex support using Belos LSQRSolMgr

Dear experts,
I have been trying to use Belos LSQR solver for a complex valued system, Ax=b, but I'm not able to compile it.

Using a scalar type that is real valued, typedef double ST, the example attached compiles and runs OK. Setting the scalar type to be complex, i.e.
typedef std::complex<double> ST, does not compile. The example I've provided is based on one of the examples presented by Heidi Thornquist in TUG 2011.

So, in short, does Belos LSQR solver support complex types at this stage?

The version I'm running is Trilinos 10.12.2, compiled using gcc-4.6.1

Thanks for all your help.

Sincerely,

Einar Otnes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20120903/fb6df4a6/attachment.html 


More information about the Trilinos-Users mailing list