[Trilinos-Users] Build error occurred when "RELEASE"
Bartlett, Roscoe A.
bartlettra at ornl.gov
Wed Oct 16 07:21:58 MDT 2013
Are you using explicit template instantiation (-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION=ON)? If not, I would suggest you turn that on. I have seen implicit template instantiation choke and kill the Intel compiler in the past.
From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Fan YE
Sent: Wednesday, October 16, 2013 4:16 AM
To: trilinos-users at software.sandia.gov
Subject: [Trilinos-Users] Build error occurred when "RELEASE"
I was trying to build a "RELEASE" Trilinos with MPI off and OMP on using the intel compiler(v14.0.0). However, I was stopped always by the same error indicating by the following lines:
trilinos-11.4.1-Source/packages/kokkos/classic/LinAlg/Kokkos_MultiVectorKernelOps.hpp(64) (col. 14): internal error: 04010002_1670
trilinos-11.4.1-Source/packages/kokkos/classic/LinAlg/Kokkos_DefaultArithmetic.hpp(578) (col. 24): internal error: 04010002_1670
I checked both hpp files, the first one is the body of a inline function, the second is the template parallel_for of Kokkos, which itself a inline function I suppose.
The "RELEASE" compiler options were "-O3 -DNDEBUG".
I changed it to "-O2" the error remained.
I changed it to "-O1" then the error gone.
If it were a problem of inlining how should I fix it? Otherwise, any suggestion or comment about it?
Thanks in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Trilinos-Users