[Trilinos-Users] LOCA Continuation

Perschbacher, Brent M bmpersc at sandia.gov
Thu Apr 14 08:42:13 MDT 2011


K. Narendiran,
  It looks like to get the loca libraray where the LAPACK symbols are located you need to configure with the options NOX_ENABLE_LOCA and NOX_ENABLE_ABSTRACT_IMPLEMENTATION_LAPACK. Try setting those options to “ON” in your configure script and then rebuild and reinstall Trilinos.


Brent

On 4/13/11 10:49 PM, "narendiran kumar" <narendirankumar at gmail.com> wrote:

Dear Sir/Madam,

I am very new to this trilinos package.  I have installed trilinos packages and enabled NOX package for using "Arc Length Continuation".  Right now, i am trying to run "ChanContinuation.C" example file.  But it's giving following error.  I suspect that, there might be mistake in my "Makefile" or "Library Link".

I am straggling in this for a long time.  Can anyone please help me.

Thanks

Regards,
K. Narendiran

**** Error Output ****
root at narendiran:/home2/program/continuation# ls
ChanContinuation.C                       LOCA_LAPACK_Interface.H
ChanProblemInterface.C                   Makefile
ChanProblemInterface.H                   NOX.H
clapack.h                                NOX_LAPACK_Group.C
LOCA_BorderedSolver_LAPACKDirectSolve.H  NOX_LAPACK_Group.H
LOCA_Eigensolver_DGGEVStrategy.H         NOX_LAPACK.H
LOCA.H                                   NOX_LAPACK_Interface.H
LOCA_LAPACK_Factory.C                    NOX_LAPACK_LinearSolver.H
LOCA_LAPACK_Factory.H                    NOX_LAPACK_Matrix.H
LOCA_LAPACK_Group.C                      NOX_LAPACK_Vector.C
LOCA_LAPACK_Group.H                      NOX_LAPACK_Vector.H
LOCA_LAPACK.H
root at narendiran:/home2/program/continuation# make

Found Trilinos!  Here are the details:
   Trilinos_VERSION = 10.6.4
   Trilinos_PACKAGE_LIST = NOX Anasazi Stratimikos Belos ML Ifpack Amesos Galeri AztecOO Isorropia Thyra EpetraExt Tpetra Triutils Zoltan Epetra Kokkos RTOp ThreadPool Teuchos
   Trilinos_LIBRARIES = -llocathyra -llocaepetra -lloca -lnoxthyra -lnoxepetra -lnox -lanasazitpetra -lModeLaplace -lanasaziepetra -lanasazi -lstratimikos -lstratimikosbelos -lstratimikosaztecoo -lstratimikosamesos -lstratimikosml -lstratimikosifpack -lbelostpetra -lbelosepetra -lbelos -lml -lifpack -lamesos -lgaleri -laztecoo -lisorropia -lthyratpetra -lthyraepetraext -lthyraepetra -lthyra -lepetraext -ltpetrainout -ltpetra -ltriutils -lzoltan -lsimpi -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -lrtop -ltpi -lteuchos
   Trilinos_INCLUDE_DIRS = -I/home2/trilinos-10.6.4-Source/build-NOX/include
   Trilinos_LIBRARY_DIRS = -L/home2/trilinos-10.6.4-Source/build-NOX/lib
   Trilinos_TPL_LIST = LAPACK BLAS
   Trilinos_TPL_INCLUDE_DIRS =
   Trilinos_TPL_LIBRARIES = -llapack -lblas
   Trilinos_TPL_LIBRARY_DIRS =
   Trilinos_BUILD_SHARED_LIBS = ON
End of Trilinos details

/usr/bin/g++ -c -g -O0  -I/home2/trilinos-10.6.4-Source/build-NOX/include  -DMYAPP_NOX ChanProblemInterface.C
/usr/bin/g++ -c -g -O0  -I/home2/trilinos-10.6.4-Source/build-NOX/include  -DMYAPP_NOX LOCA_LAPACK_Factory.C
/usr/bin/g++ -c -g -O0  -I/home2/trilinos-10.6.4-Source/build-NOX/include  -DMYAPP_NOX LOCA_LAPACK_Group.C
/usr/bin/g++ -c -g -O0  -I/home2/trilinos-10.6.4-Source/build-NOX/include  -DMYAPP_NOX NOX_LAPACK_Vector.C
/usr/bin/ar cr libmyappLib.a ChanProblemInterface.o LOCA_LAPACK_Factory.o LOCA_LAPACK_Group.o NOX_LAPACK_Vector.o
/usr/bin/g++ -g -O0  libmyappLib.a ChanContinuation.C -o MyApp.exe  -I/home2/trilinos-10.6.4-Source/build-NOX/include  -DMYAPP_NOX -L/home2/trilinos-10.6.4-Source/build-NOX/lib  -llocathyra -llocaepetra -lloca -lnoxthyra -lnoxepetra -lnox -lanasazitpetra -lModeLaplace -lanasaziepetra -lanasazi -lstratimikos -lstratimikosbelos -lstratimikosaztecoo -lstratimikosamesos -lstratimikosml -lstratimikosifpack -lbelostpetra -lbelosepetra -lbelos -lml -lifpack -lamesos -lgaleri -laztecoo -lisorropia -lthyratpetra -lthyraepetraext -lthyraepetra -lthyra -lepetraext -ltpetrainout -ltpetra -ltriutils -lzoltan -lsimpi -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -lrtop -ltpi -lteuchos -llapack -lblas
/tmp/ccVwaSAa.o: In function `main':
/home2/program/continuation/ChanContinuation.C:72: undefined reference to `LOCA::LAPACK::Factory::Factory()'
/home2/program/continuation/ChanContinuation.C:78: undefined reference to `ChanProblemInterface::ChanProblemInterface(Teuchos::RCP<LOCA::GlobalData> const&, int, double, double, double, std::basic_ofstream<char, std::char_traits<char> >&)'
/home2/program/continuation/ChanContinuation.C:87: undefined reference to `LOCA::LAPACK::Group::Group(Teuchos::RCP<LOCA::GlobalData> const&, LOCA::LAPACK::Interface&)'
/home2/program/continuation/ChanContinuation.C:115: undefined reference to `typeinfo for NOX::LAPACK::Vector'
/tmp/ccVwaSAa.o: In function `~ChanProblemInterface':
/home2/program/continuation/ChanProblemInterface.H:85: undefined reference to `vtable for ChanProblemInterface'
/home2/program/continuation/ChanProblemInterface.H:85: undefined reference to `NOX::LAPACK::Vector::~Vector()'
/tmp/ccVwaSAa.o: In function `Teuchos::RCP<LOCA::LAPACK::Group const> Teuchos::rcp_dynamic_cast<LOCA::LAPACK::Group const, LOCA::MultiContinuation::AbstractGroup const>(Teuchos::RCP<LOCA::MultiContinuation::AbstractGroup const> const&, bool)':
/home2/trilinos-10.6.4-Source/build-NOX/include/Teuchos_RCP.hpp:743: undefined reference to `typeinfo for LOCA::LAPACK::Group'
/tmp/ccVwaSAa.o: In function `LOCA::LAPACK::Group const& Teuchos::dyn_cast<LOCA::LAPACK::Group const, LOCA::MultiContinuation::AbstractGroup const>(LOCA::MultiContinuation::AbstractGroup const&)':
/home2/trilinos-10.6.4-Source/build-NOX/include/Teuchos_dyn_cast.hpp:162: undefined reference to `typeinfo for LOCA::LAPACK::Group'
/tmp/ccVwaSAa.o: In function `Teuchos::TypeNameTraits<LOCA::LAPACK::Group const>::name()':
/home2/trilinos-10.6.4-Source/build-NOX/include/Teuchos_TypeNameTraits.hpp:66: undefined reference to `typeinfo for LOCA::LAPACK::Group'
/tmp/ccVwaSAa.o: In function `Teuchos::TypeNameTraits<LOCA::LAPACK::Group>::name()':
/home2/trilinos-10.6.4-Source/build-NOX/include/Teuchos_TypeNameTraits.hpp:66: undefined reference to `typeinfo for LOCA::LAPACK::Group'
/tmp/ccVwaSAa.o: In function `Teuchos::TypeNameTraits<LOCA::LAPACK::Factory>::name()':
/home2/trilinos-10.6.4-Source/build-NOX/include/Teuchos_TypeNameTraits.hpp:66: undefined reference to `typeinfo for LOCA::LAPACK::Factory'
collect2: ld returned 1 exit status
make: *** [MyApp.exe] Error 1
root at narendiran:/home2/program/continuation#


________________________________
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20110414/0031ad98/attachment-0001.html 


More information about the Trilinos-Users mailing list