[Trilinos-Users] Thyra - undeclared identifier
Bartlett, Roscoe A.
bartlettra at ornl.gov
Mon Mar 19 12:38:07 MDT 2012
Biswa,
What compiler exactly is this? Did you get this problem to go away?
-Ross
Dr. Roscoe A. Bartlett, PhD
Oak Ridge National Laboratories
Trilinos Software Engineering Technologies and Integration Lead
CASL Virtual Reactor Software Engineering Lead
> -----Original Message-----
> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-
> bounces at software.sandia.gov] On Behalf Of Biswa Sengupta
> Sent: Friday, March 16, 2012 9:22 AM
> To: trilinos-users at software.sandia.gov
> Subject: Re: [Trilinos-Users] Thyra - undeclared identifier
>
> PS: Perhaps I will just add this-> manually to initialize(diag) to correct the
> issue and see whether compilation fails again? In the meantime, if you have
> any other suggestion just let me know. Biswa
>
>
> On 16-Mar-2012, at 6:33 PM, Biswa Sengupta wrote:
>
> > Hi guys,
> >
> > I just thought to upgrade my Trlinos 10.8 (which works fine) to 10.10.1 on
> an i7 based OSX Lion (Xcode 4.3.1) and work on a Sundance based project.
> Unfortunately, it seems I am having some problems related to "undeclared
> identifier" in Thyra. To be more specific, after a successful configuration, I get
> the following error message:
> >
> >
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%
> > ...
> > [ 43%] Building CXX object
> packages/ifpack/src/CMakeFiles/ifpack.dir/Ifpack_METISReordering.cpp.o
> > [ 43%] Building CXX object
> packages/isorropia/src/CMakeFiles/isorropia.dir/epetra/Isorropia_EpetraPro
> ber.cpp.o
> > [ 43%] Building CXX object
> packages/ifpack2/src/CMakeFiles/ifpack2.dir/Ifpack2_Parameters.cpp.o
> > [ 43%] Building CXX object
> packages/ifpack/src/CMakeFiles/ifpack.dir/Ifpack_OverlappingRowMatrix.cp
> p.o
> > [ 43%] Building CXX object
> packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve
> /client_support/Thyra_DefaultBlockedTriangularLinearOpWithSolveFactory.c
> pp.o
> > [ 43%] Building CXX object
> packages/isorropia/src/CMakeFiles/isorropia.dir/epetra/Isorropia_Epetra.cp
> p.o
> > [ 43%] Building CXX object
> packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve
> /client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp.o
> > [ 43%] Building CXX object
> packages/ifpack/src/CMakeFiles/ifpack.dir/Ifpack_ValidParameters.cpp.o
> > In file included from /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/thyra/core/src/support/operator_solve/client_support/Th
> yra_DefaultDiagonalLinearOpWithSolve.cpp:48:
> > /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/thyra/core/src/support/operator_solve/client_support/Th
> yra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3: error:
> > use of undeclared identifier 'initialize'
> > initialize(diag);
> > ^
> > this->
> > /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/thyra/core/src/support/operator_solve/client_support/Th
> yra_DefaultDiagonalLinearOpWithSolve.cpp:53:45: note:
> > in instantiation of member function
> >
> 'Thyra::DefaultDiagonalLinearOpWithSolve<float>::DefaultDiagonalLinearOp
> WithSolve' requested here
> >
> TEUCHOS_CLASS_TEMPLATE_INSTANT_SCALAR_TYPES(DefaultDiagonalLinea
> rOpWithSolve)
> > ^
> > /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/teuchos/src/Teuchos_ExplicitInstantiationHelpers.hpp:134:
> 40: note:
> > expanded from macro
> 'TEUCHOS_CLASS_TEMPLATE_INSTANT_SCALAR_TYPES'
> > TEUCHOS_CLASS_TEMPLATE_INSTANT_FLOAT(CLASSNAME) \
> > ^
> > /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/teuchos/src/Teuchos_ExplicitInstantiationHelpers.hpp:70:2
> 0: note:
> > expanded from macro 'TEUCHOS_CLASS_TEMPLATE_INSTANT_FLOAT'
> > template class CLASSNAME<float>;
> > ^
> > /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/thyra/core/src/support/operator_vector/client_support/T
> hyra_DefaultDiagonalLinearOp_decl.hpp:132:8: note:
> > must qualify identifier to find this declaration in dependent base class
> > void initialize(
> > ^
> > /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/thyra/core/src/support/operator_vector/client_support/T
> hyra_DefaultDiagonalLinearOp_decl.hpp:151:8: note:
> > must qualify identifier to find this declaration in dependent base class
> > void initialize(const RCP<VectorBase<Scalar> > &diag);
> > ^
> > /Users/biswa/Software/trilinos-10.10.1-
> Source/packages/thyra/core/src/support/operator_vector/client_support/T
> hyra_DefaultDiagonalLinearOp_decl.hpp:168:8: note:
> > must qualify identifier to find this declaration in dependent base class
> > void initialize(
> > ^
> > 1 error generated.
> > ...
> >
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%
> >
> > Any ideas about how should I go about fixing it?
> >
> > Best regards,
> > Biswa
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list