[Trilinos-Users] Sundance interface in trilinos

Biswa Sengupta bs393 at cam.ac.uk
Wed May 18 03:22:36 MDT 2011


The following error occurs albeit the files like Teuchos_TypeNameTraits.hpp, Stokhos_config.h, etc are all present in the build root directory i.e., Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/. Therefore it seems to me that the make file is unable to correctly pass on the directory structure. Please advise. Biswa

Begin forwarded message:

> From: Biswa Sengupta <bs393 at cam.ac.uk>
> Date: 18 May 2011 00:47:46 CEST
> To: kevin.long at ttu.edu
> Subject: Sundance interface in trilinos
> 
> Dear Kevin,
> 
> I am a PhD student in Cambridge studying theoretical neuroscience. I have been working on adjoint sensitivity analysis for single compartment models of neurons, usually represented by ordinary differential equation. More recently, I wanted to work on the modelling of spatial geometries of neuron so as to model them using a partial differential equation. No doubt, I came across Sundance. I have been having few issues with regard to running even simple PDEs like the heat equation. I had installed trilinos 10.6 on a Snow Leopard based Mac system. The build with Trilinos was successful; I also followed your instruction in copying the demo Makefile for my purposes and had changed the installation sources of the Sundance and Trilinos distribution (attached). At first, I was concerned perhaps the code that was modelling a 2D poisson equation had something to do with my failure to successfully compile. But removing any PDE code, doesn't solve the problem either. The error I receive is attached herewith. Your advice would be highly appreciated.
> 
> The second question that I have it how would one go about modelling a PDE in Sundance that has state variables that are a result of other ODEs? Do you have some example code somewhere?
> 
> Best regards,
> Biswa
> 
> /////////////////////////////
> bash-3.2$ make Poisson2D .exe
> g++     Poisson2D.cpp   -o Poisson2D
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDefs.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:35,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Teuchos_TestForException.hpp:32:38: error: Teuchos_TypeNameTraits.hpp: No such file or directory
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Stokhos_OneDOrthogPolyBasis.hpp:40,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Stokhos_OrthogPolyBasis.hpp:38,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceStokhosBasisWrapper.hpp:40,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceSpectralBasis.hpp:40,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteFunctionStub.hpp:37,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceSymbolicFunc.hpp:40,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceTestFunctionStub.hpp:36,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceTestFunction.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:46,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Stokhos_ConfigDefs.h:75:28: error: Stokhos_config.h: No such file or directory
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_OperatorVectorTypes.hpp:32,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorSpaceFactoryBase.hpp:32,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_ConfigDefs.hpp:35:34: error: Teuchos_ConfigDefs.hpp: No such file or directory
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_ConfigDefs.hpp:37:26: error: Thyra_Config.h: No such file or directory
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_OperatorVectorTypes.hpp:33,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorSpaceFactoryBase.hpp:32,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOp_ConfigDefs.hpp:38:25: error: RTOp_Config.h: No such file or directory
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Epetra_Map.h:116,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFEpetraVectorSpace.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFEpetraVectorType.hpp:30,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:154,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Epetra_ConfigDefs.h:108:27: error: Epetra_config.h: No such file or directory
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFAztecSolver.hpp:43,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:159,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/AztecOO.h:34:32: error: AztecOO_ConfigDefs.h: No such file or directory
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/ml_MultiLevelPreconditioner.h:84,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFMLOperator.hpp:36,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:163,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/EpetraExt_SolverMap_CrsMatrix.h:32:33: error: EpetraExt_Transform.h: No such file or directory
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_OperatorVectorTypes.hpp:33,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorSpaceFactoryBase.hpp:32,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:56: error: expected constructor, destructor, or type conversion before 'typedef'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:215: error: 'RTOP_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:221: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:221: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:230: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:230: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:230: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:232: error: expected `;' before '}' token
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:289: error: 'RTOP_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:294: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:294: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:297: error: expected `;' before '}' token
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:470: error: 'RTOP_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:481: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:481: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:493: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:493: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:493: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:495: error: expected `;' before '}' token
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:573: error: 'RTOP_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:582: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:582: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_Types.hpp:591: error: expected `;' before '}' token
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorSpaceFactoryBase.hpp:32,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_OperatorVectorTypes.hpp:120: error: expected constructor, destructor, or type conversion before 'typedef'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_OperatorVectorTypes.hpp:173: error: expected constructor, destructor, or type conversion before 'typedef'
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase.hpp:1,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFLinearOperatorDecl.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:33,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:310: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:310: error: expected ';' before 'bool'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:313: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:313: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:322: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:322: error: expected ';' before 'bool'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:325: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:325: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:437: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:450: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:462: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_LinearOpBase_decl.hpp:567: error: 'void Thyra::applyTranspose(const Thyra::LinearOpBase<Scalar>&, Thyra::EConj, const Thyra::MultiVectorBase<Scalar>&, Thyra::MultiVectorBase<Scalar>*, Scalar, Scalar)' should have been declared inside 'Thyra'
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:33,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFLinearOperatorDecl.hpp:43: error: 'Thyra::Index' has not been declared
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT.hpp:1,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:33,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorBase.hpp:34,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorDecl.hpp:34,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFGhostImporter.hpp:30,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:467: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:467: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:477: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:477: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:477: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:485: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:485: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:485: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:491: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:491: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:491: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:505: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:505: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:505: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:519: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:519: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:519: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_RTOpT_decl.hpp:534: error: expected `;' before 'private'
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorBase.hpp:34,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorDecl.hpp:34,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFGhostImporter.hpp:30,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1081: error: 'THYRA_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1086: error: 'THYRA_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1091: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1091: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1102: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1102: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1187: error: expected constructor, destructor, or type conversion before 'inline'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_MultiVectorBase_decl.hpp:1218: error: expected constructor, destructor, or type conversion before 'inline'
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorBase.hpp:36,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorDecl.hpp:34,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFGhostImporter.hpp:30,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:262: error: 'RTOP_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:273: error: 'RTOP_DEPRECATED' does not name a type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:281: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:281: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:294: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:294: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:294: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:304: error: expected `;' before 'RTOP_DEPRECATED'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:304: error: ISO C++ forbids declaration of 'RTOP_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:304: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/RTOpPack_SparseSubVectorT.hpp:306: error: expected `;' before '}' token
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorDecl.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFGhostImporter.hpp:30,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFRawDataAccessibleVector.hpp:41: error: 'Thyra::Index' has not been declared
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps.hpp:1,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorDecl.hpp:40,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFGhostImporter.hpp:30,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorTypeExtensions.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorType.hpp:31,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceDiscreteSpace.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:48,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:584: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:591: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:598: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:605: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:612: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:619: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:626: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:633: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:641: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:649: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:657: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:665: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:673: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:681: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:702: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:709: error: expected initializer before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:716: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:723: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:730: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:737: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:745: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:753: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:763: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:770: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:777: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:785: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:793: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:801: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:809: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:816: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:824: error: expected constructor, destructor, or type conversion before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_VectorStdOps_decl.hpp:831: error: expected constructor, destructor, or type conversion before 'void'
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_DefaultSpmdVector_decl.hpp:33,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_DefaultSpmdVector.hpp:1,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFVectorImpl.hpp:38,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceFunctionalEvaluator.hpp:36,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceLinearEigenproblem.hpp:37,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:141,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:206: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:206: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:208: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:208: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:210: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:210: error: expected ';' before 'void'
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:212: error: ISO C++ forbids declaration of 'THYRA_DEPRECATED' with no type
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Thyra_SpmdVectorBase_decl.hpp:212: error: expected ';' before 'void'
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceNLOp.hpp:39,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceNonlinearProblem.hpp:35,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:143,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFNonlinearOperatorBase.hpp:42: error: 'Thyra::Index' has not been declared
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/NOX_TSF_Group.H:46,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFNOXSolver.H:36,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/SundanceNonlinearProblem.hpp:36,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:143,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFNonlinearOperator.hpp:39: error: 'Thyra::Index' has not been declared
> In file included from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/ml_MultiLevelPreconditioner.h:84,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/TSFMLOperator.hpp:36,
>                 from /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/Sundance.hpp:163,
>                 from Poisson2D.cpp:1:
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/EpetraExt_SolverMap_CrsMatrix.h:45: error: expected template-name before '<' token
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/EpetraExt_SolverMap_CrsMatrix.h:45: error: expected `{' before '<' token
> /Users/biswasengupta/Desktop/trilinos-10.6.4/sampleScripts/trilinos/include/EpetraExt_SolverMap_CrsMatrix.h:45: error: expected unqualified-id before '<' token
> Poisson2D.cpp:19: error: expected `}' at end of input
> make: *** [Poisson2D] Error 1
> 
> /////////////////////////////
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110518/22261971/attachment-0004.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.export.Trilinos
Type: application/octet-stream
Size: 3965 bytes
Desc: not available
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20110518/22261971/attachment-0003.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110518/22261971/attachment-0005.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 4600 bytes
Desc: not available
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20110518/22261971/attachment-0004.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110518/22261971/attachment-0006.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Poisson2D.cpp
Type: application/octet-stream
Size: 431 bytes
Desc: not available
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20110518/22261971/attachment-0005.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110518/22261971/attachment-0007.html 


More information about the Trilinos-Users mailing list