You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following merge of PR #1406 nightly Trilinos builds began failing to compile due missing nan member for long long types in the ArithTraits, which is showing up in Tpetra:
18:11:41 /home/jenkins/jenkins-new/workspace/KokkosKernels_Trilinos_TpetraCore_Sacado_KokkosDev_CUDA92_opt/Trilinos/packages/tpetra/core/src/Tpetra_MultiVector_def.hpp(206): error: class "Kokkos::Details::ArithTraits<long long>" has no member "nan"
18:11:41 detected during:
18:11:41 instantiation of "Tpetra::MultiVector<ST, LO, GO, NT>::wrapped_dual_view_type <unnamed>::allocDualView<ST,LO,GO,NT>(size_t, size_t, __nv_bool, __nv_bool) [with ST=Tpetra::longlong, LO=int, GO=Tpetra::longlong, NT=Tpetra::Kokkos_Compat_KokkosSerialWrapperNode]"
18:11:41 (472): here
18:11:41 instantiation of "Tpetra::MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>::MultiVector(const Teuchos::RCP<const Tpetra::MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>::map_type> &, size_t, __nv_bool) [with Scalar=Tpetra::longlong, LocalOrdinal=int, GlobalOrdinal=Tpetra::longlong, Node=Tpetra::Kokkos_Compat_KokkosSerialWrapperNode]"
18:11:41 packages/tpetra/core/src/Tpetra_MultiVector_LONG_LONG_INT_LONG_LONG_SERIAL.cpp(76): here
...
Reproducer (weaver):
git clone -b kokkos-promotion https://github.com/trilinos/Trilinos.git
# Symbolic link to your kokkos and kokkos-kernels repos in Trilinos source directory for source overridecd Trilinos
ln -s <path-to-your-repo>/kokkos kokkos
ln -s <path-to-your-repo>/kokkos-kernels kokkos-kernels
cd$HOME
mkdir -p build
cd build
export ATDM_CONFIG_REGISTER_CUSTOM_CONFIG_DIR=${TRILINOS_DIR}/cmake/std/atdm/contributed/weaver
source${TRILINOS_DIR}/cmake/std/atdm/load-env.sh weaver-cuda-10.1-opt
export ATDM_CONFIG_USE_NINJA=OFF
cmake \
-G"Unix Makefiles" \
-DTrilinos_CONFIGURE_OPTIONS_FILE:STRING=cmake/std/atdm/ATDMDevEnv.cmake \
-DCMAKE_CXX_STANDARD="14" \
-DTrilinos_ENABLE_TESTS=OFF \
-DTrilinos_ENABLE_ALL_PACKAGES=ON \
-DTpetra_ENABLE_TESTS=ON \
-DKokkos_SOURCE_DIR_OVERRIDE:STRING=kokkos \
-DKokkosKernels_SOURCE_DIR_OVERRIDE:STRING=kokkos-kernels \
$TRILINOS_DIR
Following merge of PR #1406 nightly Trilinos builds began failing to compile due missing
nan
member forlong long
types in the ArithTraits, which is showing up in Tpetra:Reproducer (weaver):
@lucbv can you investigate?
The text was updated successfully, but these errors were encountered: