Skip to content

Commit

Permalink
Adding CI for Kokkos backend
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea authored and anagainaru committed Feb 18, 2023
1 parent a42d0b1 commit 4aaa5f2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/everything.yml
Expand Up @@ -97,7 +97,7 @@ jobs:
image: ornladios/adios2:ci-spack-el8-${{ matrix.compiler }}-${{ matrix.parallel }}
options: --shm-size=1g
env:
GH_YML_JOBNAME: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}
GH_YML_JOBNAME: ${{ matrix.os }}-${{ matrix.gpu_backend }}${{ matrix.compiler }}-${{ matrix.parallel }}
GH_YML_BASE_OS: Linux
GH_YML_MATRIX_OS: ${{ matrix.os }}
GH_YML_MATRIX_COMPILER: ${{ matrix.compiler }}
Expand All @@ -114,6 +114,11 @@ jobs:
compiler: cuda
parallel: serial
constrains: build_only
- os: el8
compiler: cuda
parallel: serial
gpu_backend: kokkos
constrains: build_only
- os: el8
compiler: gcc10
parallel: mpich
Expand Down
1 change: 1 addition & 0 deletions CTestCustom.cmake.in
Expand Up @@ -21,6 +21,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"warnings generated"
"warning: template parameter ... is not used in declaring the parameter types of function template"
"warning: command-line option '.*' is valid for Fortran but not for C"
"Warning #20208-D: '.*' is treated as '.*' in device code"
)
list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
".*/thirdparty/.*"
Expand Down
26 changes: 26 additions & 0 deletions scripts/ci/cmake-v2/ci-el8-kokkoscuda-serial.cmake
@@ -0,0 +1,26 @@
# Client maintainer: vicente.bolea@kitware.com

set(ENV{CC} gcc)
set(ENV{CXX} g++)
set(ENV{FC} gfortran)

set(dashboard_cache "
ADIOS2_USE_BZip2:BOOL=ON
ADIOS2_USE_Blosc:BOOL=ON
ADIOS2_USE_DataMan:BOOL=ON
ADIOS2_USE_Fortran:BOOL=ON
ADIOS2_USE_HDF5:BOOL=ON
ADIOS2_USE_Python:BOOL=ON
ADIOS2_USE_SZ:BOOL=ON
ADIOS2_USE_ZeroMQ:STRING=ON
ADIOS2_USE_ZFP:BOOL=ON
ADIOS2_USE_Kokkos:BOOL=ON
ADIOS2_USE_MPI:BOOL=OFF
CMAKE_C_FLAGS:STRING=-Wall
CMAKE_CXX_FLAGS:STRING=-Wall
CMAKE_Fortran_FLAGS:STRING=-Wall
")

set(CTEST_CMAKE_GENERATOR "Ninja")
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}")
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake)

0 comments on commit 4aaa5f2

Please sign in to comment.