[Trilinos-Users] trouble with ifpack2 in trilinos 11.12.1

Alicia Klinvex aklinvex at purdue.edu
Wed Nov 12 11:31:52 MST 2014


Hello,

I downloaded, configured, and installed Trilinos 11.12.1 recently, but I'm
having trouble building my own executables.  When I try to build my code, I
get the following error message:

[Xaklinv at eln4 1_Fiedler]$ make fiedler
/opt/intel/impi/5.0.1.035/intel64/bin/mpiicpc -O3 -openmp -O3 -DNDEBUG
 fiedler.cpp -o fiedler.exe  -I/opt/intel/mkl/include
-I/panfs/users/Xaklinv/trilinos-install/include
-I/panfs/users/Xaklinv/MUMPS_4.10.0-p3/include -DMYAPP_EPETRA
-L/panfs/users/Xaklinv/trilinos-install/lib  -lifpack2-adapters -lifpack2
-lanasazitpetra -lModeLaplace -lanasaziepetra -lanasazi -lbelostpetra
-lbelosepetra -lbelos -lml -lifpack -lamesos -lgaleri-xpetra -lgaleri
-laztecoo -lisorropia -lthyratpetra -lthyraepetra -lthyracore -lthyratpetra
-lthyraepetra -lthyracore -lxpetra-sup -lxpetra-ext -lxpetra -lepetraext
-ltpetraext -ltpetrainout -ltpetra -ltriutils -lzoltan -lepetra
-lkokkosdisttsqr -lkokkosnodetsqr -lkokkoslinalg -lkokkosnodeapi -lkokkos
-lkokkosdisttsqr -lkokkosnodetsqr -lkokkoslinalg -lkokkosnodeapi -lkokkos
-lrtop -ltpi -lteuchosremainder -lteuchosnumerics -lteuchoscomm
-lteuchosparameterlist -lteuchoscore -lteuchosremainder -lteuchosnumerics
-lteuchoscomm -lteuchosparameterlist -lteuchoscore
/panfs/users/Xaklinv/MUMPS_4.10.0-p3/lib/libdmumps.a
/panfs/users/Xaklinv/MUMPS_4.10.0-p3/lib/libmumps_common.a
/panfs/users/Xaklinv/MUMPS_4.10.0-p3/lib/libpord.a
/panfs/users/Xaklinv/petsc-3.5.2/endv/lib/libscalapack.a /opt/intel/mkl/
11.1.3.174/mkl/lib/intel64/libmkl_intel_lp64.so /opt/intel/mkl/
11.1.3.174/mkl/lib/intel64/libmkl_intel_thread.so /opt/intel/mkl/
11.1.3.174/mkl/lib/intel64/libmkl_core.so /usr/lib64/libpthread.so
/opt/intel/mkl/11.1.3.174/mkl/lib/intel64/libmkl_intel_lp64.so
/opt/intel/mkl/11.1.3.174/mkl/lib/intel64/libmkl_intel_thread.so
/opt/intel/mkl/11.1.3.174/mkl/lib/intel64/libmkl_core.so
/usr/lib64/libpthread.so
[remarks about loops being vectorized...]
/panfs/users/Xaklinv/trilinos-install/lib/libifpack2.a(Ifpack2_ILUT.cpp.o):
In function `Ifpack2::ILUT<Tpetra::RowMatrix<double, int, int,
KokkosClassic::SerialNode>
>::makeLocalFilter(Teuchos::RCP<Tpetra::RowMatrix<double, int, int,
KokkosClassic::SerialNode> const> const&)':
/panfs/users/Xaklinv/trilinos-11.12.1-Source/packages/ifpack2/src/Ifpack2_ILUT.cpp:(.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic10SerialNodeEEEE15makeLocalFilterERKN7Teuchos3RCPIKS5_EE[.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic10SerialNodeEEEE15makeLocalFilterERKN7Teuchos3RCPIKS5_EE]+0xbf):
undefined reference to `Ifpack2::LocalFilter<Tpetra::RowMatrix<double, int,
int, KokkosClassic::SerialNode>
>::LocalFilter(Teuchos::RCP<Tpetra::RowMatrix<double, int, int,
KokkosClassic::SerialNode> const> const&)'
/panfs/users/Xaklinv/trilinos-install/lib/libifpack2.a(Ifpack2_ILUT.cpp.o):
In function `Ifpack2::ILUT<Tpetra::RowMatrix<double, int, int,
KokkosClassic::TPINode>
>::makeLocalFilter(Teuchos::RCP<Tpetra::RowMatrix<double, int, int,
KokkosClassic::TPINode> const> const&)':
/panfs/users/Xaklinv/trilinos-11.12.1-Source/packages/ifpack2/src/Ifpack2_ILUT.cpp:(.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic7TPINodeEEEE15makeLocalFilterERKN7Teuchos3RCPIKS5_EE[.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic7TPINodeEEEE15makeLocalFilterERKN7Teuchos3RCPIKS5_EE]+0xbf):
undefined reference to `Ifpack2::LocalFilter<Tpetra::RowMatrix<double, int,
int, KokkosClassic::TPINode>
>::LocalFilter(Teuchos::RCP<Tpetra::RowMatrix<double, int, int,
KokkosClassic::TPINode> const> const&)'
/panfs/users/Xaklinv/trilinos-install/lib/libifpack2.a(Ifpack2_ILUT.cpp.o):
In function `Ifpack2::ILUT<Tpetra::RowMatrix<double, int, int,
KokkosClassic::TPINode> >::initialize()':
/panfs/users/Xaklinv/trilinos-11.12.1-Source/packages/ifpack2/src/Ifpack2_ILUT.cpp:(.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic7TPINodeEEEE10initializeEv[.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic7TPINodeEEEE10initializeEv]+0x342):
undefined reference to `Ifpack2::LocalFilter<Tpetra::RowMatrix<double, int,
int, KokkosClassic::TPINode>
>::LocalFilter(Teuchos::RCP<Tpetra::RowMatrix<double, int, int,
KokkosClassic::TPINode> const> const&)'
/panfs/users/Xaklinv/trilinos-install/lib/libifpack2.a(Ifpack2_ILUT.cpp.o):
In function `Ifpack2::ILUT<Tpetra::RowMatrix<double, int, int,
KokkosClassic::SerialNode> >::initialize()':
/panfs/users/Xaklinv/trilinos-11.12.1-Source/packages/ifpack2/src/Ifpack2_ILUT.cpp:(.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic10SerialNodeEEEE10initializeEv[.gnu.linkonce.t._ZN7Ifpack24ILUTIN6Tpetra9RowMatrixIdiiN13KokkosClassic10SerialNodeEEEE10initializeEv]+0x342):
undefined reference to `Ifpack2::LocalFilter<Tpetra::RowMatrix<double, int,
int, KokkosClassic::SerialNode>
>::LocalFilter(Teuchos::RCP<Tpetra::RowMatrix<double, int, int,
KokkosClassic::SerialNode> const> const&)'

If I remove "-lifpack2-adapters -lifpack2" from the build line, my code
builds successfully.  The problem is, while my code does not currently use
ifpack2, I would like to add preconditioning to it...so I will need those
libraries.  Does anyone know what might be causing this problem?  I would
be happy to provide my makefiles and configuration logs if they will be
useful.

Thank you,
Alicia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20141112/031a55e2/attachment.html>


More information about the Trilinos-Users mailing list