[Trilinos-Users] Compiling and Linking Errors with Intel

Truman Ellis truman.e.ellis at gmail.com
Thu May 21 12:47:38 EDT 2015


I downloaded Trilinos 12.0.1 and compiled it with intel compilers on TACC's
Stampede supercomputer. However, when I try to link to it from my
application, I get a bunch of errors similar to
In file included from
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/Kokkos_View.hpp(56),
                 from
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/Kokkos_Parallel.hpp(52),
                 from
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/Kokkos_Serial.hpp(52),
                 from
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/Kokkos_Core.hpp(61),
                 from
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/KokkosRank.hpp(4),
                 from
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/Intrepid_ArrayTools.hpp(57),
                 from
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/Intrepid_FunctionSpaceTools.hpp(53),
                 from /work/01837/truman/Camellia/src/ScratchPad/IP.cpp(9):
/work/01837/truman/trilinosRelease/lib/cmake/Trilinos/../../../include/impl/Kokkos_ViewOffset.hpp(1215):
error: namespace "std" has no member "enable_if"
    typename std::enable_if< (std::is_integral<I0>::value) &&
(shape_type::rank==1),size_type>::type

I've made sure my do-configure scripts for both Trilinos and my own
application include a line
-D CMAKE_CXX_STANDARD:STRING="11" \
in order to guarantee compilation with C++11. Any advice on how to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150521/76d4ffab/attachment.html>


More information about the Trilinos-Users mailing list