[Trilinos-Users] error in Teuchos_lapack.h

Chris Baker cgbaker at gmail.com
Wed Mar 12 09:58:19 MDT 2008


Thank you for bringing this to our attention. In trying to determine what is
wrong, I have some questions:
* Which version of Trilinos are you using?
* I see that you have modified Teuchos_LAPACK.hpp to remove the problematic
"const" from the complex<double> version of TRTRS. Were you required to
modify the file Teuchos_LAPACK_wrappers.hpp as well?
* Which implementation of BLAS/LAPACK are you using?

With your help, we will try to get to the bottom of this. I would note that
in the reference LAPACK, the function TRTRS (for all four standard scalar
fields) does not modify the triangular matrix A. Only the RHS matrix B is

Best regards,

On Wed, Mar 12, 2008 at 7:31 AM, Kurt Stokbro <kurt.stokbro at gmail.com>

> We have found an error in the use of lapack TRTRS, the matrix A is
> defined as const while it is changed by TRTRS. The construction is not
> allowed by our gcc compiler.
> Find attached an updated file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20080312/7a814743/attachment.html

More information about the Trilinos-Users mailing list