Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmres: disable examples for builds with ibm/xl #1123

Merged
merged 1 commit into from
Oct 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions example/gmres/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
KOKKOSKERNELS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
KOKKOSKERNELS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

# Workaround https://github.com/kokkos/kokkos/issues/4376 for ibm/xl
IF (NOT ${KOKKOS_COMPILER_IBM})
KOKKOSKERNELS_ADD_EXECUTABLE(
gmres_ex_real_A
SOURCES ex_real_A.cpp
Expand All @@ -21,3 +23,7 @@ KOKKOSKERNELS_ADD_EXECUTABLE_AND_TEST(
SOURCES test_prec.cpp
)

ELSE ()
MESSAGE (STATUS "SKIPPING gmres examples - Kokkos::complex<half_t> unsupported with ibm/xlC as host compiler")
ENDIF ()