Skip to content

Commit

Permalink
Test different layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Jan 12, 2021
1 parent 364ac20 commit ab31b24
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ env:
- CCACHE_CPP2=yes
matrix:
- BACKENDS="OPENMP"
- BACKENDS="PTHREAD"
- BACKENDS="SERIAL"
- BACKENDS="OPENMP" ArborX=ON
- BACKENDS="OPENMP" NNP=ON
- BACKENDS="OPENMP" ArborX=ON NNP=ON
- BACKENDS="PTHREAD" ArborX=ON NNP=ON
- BACKENDS="PTHREAD" LAYOUT=1
- BACKENDS="SERIAL" LAYOUT=2
- BACKENDS="OPENMP" ArborX=ON LAYOUT=6
- BACKENDS="OPENMP" NNP=ON LAYOUT=1 LAYOUT_NNP=1
- BACKENDS="OPENMP" ArborX=ON NNP=ON LAYOUT=2 LAYOUT_NNP=3
- BACKENDS="PTHREAD" ArborX=ON NNP=ON LAYOUT=6
- BACKENDS="SERIAL" ArborX=ON NNP=ON

addons:
Expand All @@ -39,7 +39,8 @@ addons:
before_script:
- ccache -z
- for i in ${BACKENDS}; do KOKKOS_OPTS+=( -DKokkos_ENABLE_${i}=ON ); done
- for i in ${BACKENDS}; do CABANAMD_OPTS+=( -DCabanaMD_REQUIRE_${i}=ON ); done
- for i in ${LAYOUT}; do CABANAMD_OPTS+=( -DCabanaMD_LAYOUT=${i} ); done
- for i in ${LAYOUT_NNP}; do CABANAMD_OPTS+=( -DCabanaMD_LAYOUT_NNP=${i} ); done
# LD_LIBRARY_PATH workaround for libomp: https://github.com/travis-ci/travis-ci/issues/8613
- if [[ ${CC} = clang ]]; then export LD_LIBRARY_PATH=/usr/local/clang/lib:$LD_LIBRARY_PATH; fi
- if [[ ${CC} = gcc ]]; then export CXX=g++-6; export CC=gcc-6; export FC=gfortran-6; fi
Expand Down

0 comments on commit ab31b24

Please sign in to comment.