[Trilinos-Users] Complex support using Belos LSQRSolMgr (Einar Otnes)

Hoemmen, Mark mhoemme at sandia.gov
Mon Sep 3 23:11:17 MDT 2012


On Sep 3, 2012, at 12:01 PM, "trilinos-users-request at software.sandia.gov" <trilinos-users-request at software.sandia.gov> wrote:
> Message: 1
> Date: Mon, 3 Sep 2012 11:11:46 +0100
> From: "Einar Otnes" <eotnes at gmail.com>
> Subject: [Trilinos-Users] Complex support using Belos LSQRSolMgr
> To: trilinos-users at software.sandia.gov
> Message-ID:
>    <CAB4PwT09Q9ewAKQD60UfgMAcn3oSsP6bRBof5oVojtXO8GFHng at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 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?

Thanks for reporting this.  All Belos solvers should support complex types unless their documentation specifies otherwise, so this appears to be a bug.  Would you mind sending me the compiler errors you have been getting?

mfh



More information about the Trilinos-Users mailing list