Skip to content
Closed
Show file tree
Hide file tree
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
28 changes: 14 additions & 14 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- main
concurrency:
group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }}
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{github.event_name == 'pull_request'}}
jobs:
CI:
Expand All @@ -20,20 +20,20 @@ jobs:
cxx: ['g++', 'clang++']
backend: ['SERIAL', 'OPENMP']
cmake_build_type: ['Debug', 'Release']
kokkos_ver: ['4.1.00']
kokkos_ver: ['4.6.02']
json: ['Internal']
include:
- distro: 'ubuntu:intel'
cxx: 'icpx'
backend: 'SERIAL'
cmake_build_type: 'Release'
kokkos_ver: '4.1.00'
kokkos_ver: '4.6.02'
json: External
- distro: 'ubuntu:intel'
cxx: 'icpx'
backend: 'OPENMP'
cmake_build_type: 'Release'
kokkos_ver: '4.1.00'
kokkos_ver: '4.6.02'
json: External
runs-on: ubuntu-latest
container: ghcr.io/ecp-copa/ci-containers/${{ matrix.distro }}
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ECP-CoPA/Cabana
ref: 0.6.1
ref: 0.8.0
path: cabana
- name: Build Cabana
working-directory: cabana
Expand All @@ -95,7 +95,7 @@ jobs:
run: |
cmake -B build \
-D CMAKE_INSTALL_PREFIX=$HOME/finch \
-D CMAKE_PREFIX_PATH="$HOME/cabana;$HOME/json" \
-D CMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/cabana;$HOME/json" \
-D CMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \
-D CMAKE_CXX_COMPILER=${{ matrix.cxx }} \
-D CMAKE_CXX_FLAGS="-Wall -Wextra -pedantic -Werror" \
Expand All @@ -110,8 +110,8 @@ jobs:
- name: Test Finch
working-directory: examples/single_line
run: |
$HOME/finch/bin/finch -i inputs_small.json
mpirun -n 2 --oversubscribe $HOME/finch/bin/finch -i inputs_small.json
$HOME/finch/bin/finch -i inputs_gaussian.json
mpirun -n 2 --oversubscribe $HOME/finch/bin/finch -i inputs_gaussian.json

HIP:
defaults:
Expand All @@ -124,7 +124,7 @@ jobs:
matrix:
cxx: ['hipcc']
cmake_build_type: ['Release']
kokkos_ver: ['4.2.00']
kokkos_ver: ['4.6.02']
runs-on: ubuntu-latest
container: ghcr.io/ecp-copa/ci-containers/rocm:latest
steps:
Expand All @@ -149,7 +149,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ECP-CoPA/Cabana
ref: 0.6.1
ref: 0.8.0
path: cabana
- name: Build Cabana
working-directory: cabana
Expand All @@ -167,7 +167,7 @@ jobs:
run: |
cmake -B build \
-D CMAKE_INSTALL_PREFIX=$HOME/finch \
-D CMAKE_PREFIX_PATH="$HOME/cabana;$HOME/json" \
-D CMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/cabana;$HOME/json" \
-D CMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \
-D CMAKE_CXX_COMPILER=${{ matrix.cxx }} \
-D CMAKE_CXX_FLAGS="-Wall -Wextra -pedantic -Werror -I${MPI_LOCATION}/include" \
Expand All @@ -184,7 +184,7 @@ jobs:
matrix:
cxx: ['nvcc']
cmake_build_type: ['Release']
kokkos_ver: ['4.1.00']
kokkos_ver: ['4.6.02']
runs-on: ubuntu-latest
container: ghcr.io/ecp-copa/ci-containers/cuda:12.2.0
steps:
Expand All @@ -209,7 +209,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ECP-CoPA/Cabana
ref: 0.6.1
ref: 0.8.0
path: cabana
- name: Build Cabana
working-directory: cabana
Expand All @@ -227,7 +227,7 @@ jobs:
run: |
cmake -B build \
-D CMAKE_INSTALL_PREFIX=$HOME/finch \
-D CMAKE_PREFIX_PATH="$HOME/cabana;$HOME/json" \
-D CMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/cabana;$HOME/json" \
-D CMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} \
-D CMAKE_CXX_FLAGS="-Wall -Wextra -pedantic -Werror"
cmake --build build --parallel 2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/Weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: kokkos/kokkos
ref: develop
ref: 4.6.02
path: kokkos
- name: Build kokkos
working-directory: kokkos
Expand All @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ECP-CoPA/Cabana
ref: master
ref: 0.8.0
path: cabana
- name: Build Cabana
working-directory: cabana
Expand All @@ -52,7 +52,7 @@ jobs:
run: |
cmake -B build \
-D CMAKE_INSTALL_PREFIX=$HOME/finch \
-D CMAKE_PREFIX_PATH="$HOME/cabana" \
-D CMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/cabana" \
-D CMAKE_BUILD_TYPE=Debug \
${{ github.event.inputs.cmake_args }}
cmake --build build --parallel 2
Expand All @@ -64,5 +64,5 @@ jobs:
- name: Test Finch
working-directory: examples/single_line
run: |
$HOME/finch/bin/finch -i inputs_small.json
mpirun -n 2 --oversubscribe $HOME/finch/bin/finch -i inputs_small.json
$HOME/finch/bin/finch -i inputs_gaussian.json
mpirun -n 2 --oversubscribe $HOME/finch/bin/finch -i inputs_gaussian.json
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
build
kokkos/
Cabana/
__pycache__/
/examples/**/output/

# Output files
*.bov
*.bp/
*.dat
*.csv
path*.txt
Loading
Loading