[Trilinos-Users] gcc 4.7.2, Teuchos

Day, David dmday at sandia.gov
Fri Nov 23 21:10:41 MST 2012


Dear trilinos-users,
In the following error message, I have deleted the name of the application code only. Anasazi is used to approximately solve quadratic eigenvalue problems through an Old version of Trilinos. I would appreciate comments on whether or not (say the most recent release of) Trilinos supports gcc 4.7.2. Also does this error message imply that the Old version of Teuchos is incompatible with gcc 4.7.2, and if not, what could it mean? Thanks in advance, --David Day

Target: votd/gcc-4.7.2/release/address-model-64/allocator-ptmalloc2/mpi-openmpi/runtime-link-shared/threading-multi/qevp.o
Source: solutions/qevp.C

In file included from TPLs_src/Trilinos_flat_headers/Teuchos_RCPDecl.hpp:51:0,
                 from TPLs_src/Trilinos_flat_headers/Teuchos_RCP.hpp:58,
                 from TPLs_src/Trilinos_flat_headers/Teuchos_ArrayRCPDecl.hpp:47,
                 from TPLs_src/Trilinos_flat_headers/Teuchos_ArrayRCP.hpp:46,
                 from TPLs_src/Trilinos_flat_headers/Teuchos_Array.hpp:52,
                 from TPLs_src/Trilinos_flat_headers/RTOpPack_Types.hpp:49,
                 from TPLs_src/Trilinos_flat_headers/Thyra_OperatorVectorTypes.hpp:46,
                 from TPLs_src/Trilinos_flat_headers/Thyra_LinearOpBase_decl.hpp:45,
                 from TPLs_src/Trilinos_flat_headers/Thyra_MultiVectorBase_decl.hpp:45,
                 from TPLs_src/Trilinos_flat_headers/Thyra_MultiVectorBase.hpp:1,
                 from solutions/qevp.H:10,
                 from solutions/qevp.C:6:
TPLs_src/Trilinos_flat_headers/Teuchos_RCPNode.hpp: In member function 'void Anasazi::BlockKrylovSchur<ScalarType, MV, OP>::iterate() [with ScalarType = double; MV = Thyra::MultiVectorBase<double>; OP = Thyra::LinearOpBase<double>]':
TPLs_src/Trilinos_flat_headers/Teuchos_RCPNode.hpp:181:31: error: array subscript is below array bounds [-Werror=array-bounds]
TPLs_src/Trilinos_flat_headers/Teuchos_RCPNode.hpp:181:31: error: array subscript is below array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors

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


More information about the Trilinos-Users mailing list