[Trilinos-Users] Compilation error

Chukwudi Chukwudozie chdozie at gmail.com
Thu Oct 5 20:48:34 EDT 2017


So, I manage to get trilinos to compile by removing some options. However,
I still run into some errors as shown here below. Any help will be
appreciated.

[ 66%] Built target thyra_nonlinear_test_models

[ 67%] Built target thyraepetra

[ 67%] Built target thyraepetraext

[ 68%] Built target xpetra

[ 68%] Building CXX object
packages/xpetra/sup/CMakeFiles/xpetra-sup.dir/Utils/Xpetra_IteratorOps.cpp.o

/work/cchukw1/geocentric/packages/trilinos-12.12.1-Source/packages/xpetra/src/BlockedVector/Xpetra_BlockedVector.hpp(387):
error: space required between adjacent ">" delimiters of nested template
argument lists (">>" is the right shift operator)

        RCP<const Xpetra::Vector<Scalar,LocalOrdinal,GlobalOrdinal,Node>>
rcpA = Teuchos::rcpFromRef(A);

                                                                       ^

          detected during instantiation of "Xpetra::BlockedVector<Scalar,
LocalOrdinal, GlobalOrdinal, Node>::BlockedVector(const Teuchos::RCP<const
Xpetra::BlockedMap<LocalOrdinal, GlobalOrdinal, Node>> &, bool) [with
Scalar=double, LocalOrdinal=int, GlobalOrdinal=int,
Node=Xpetra::EpetraNode]" at line 128 of
"/work/cchukw1/geocentric/packages/trilinos-12.12.1-Source/packages/xpetra/src/Vector/Xpetra_VectorFactory.hpp"


compilation aborted for
/work/cchukw1/geocentric/packages/trilinos-12.12.1-Source/packages/xpetra/sup/Utils/Xpetra_IteratorOps.cpp
(code 2)

make[2]: ***
[packages/xpetra/sup/CMakeFiles/xpetra-sup.dir/Utils/Xpetra_IteratorOps.cpp.o]
Error 2

make[1]: *** [packages/xpetra/sup/CMakeFiles/xpetra-sup.dir/all] Error 2

make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20171005/b4cb5572/attachment.html>


More information about the Trilinos-Users mailing list