Skip to content

Commit

Permalink
Add MPIEXEC_PREFLAGS option in CI to post-installation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed Apr 8, 2024
1 parent 2eb988b commit 1a6af87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .jenkins/continuous.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ pipeline {
-D CMAKE_CXX_COMPILER=$KOKKOS_DIR/bin/nvcc_wrapper \
-D CMAKE_CXX_EXTENSIONS=OFF \
-D CMAKE_PREFIX_PATH="$KOKKOS_DIR;$ARBORX_DIR" \
-D MPIEXEC_PREFLAGS="--allow-run-as-root" \
examples \
'''
sh 'make VERBOSE=1'
Expand Down Expand Up @@ -148,6 +149,7 @@ pipeline {
-D CMAKE_CXX_COMPILER=$KOKKOS_DIR/bin/nvcc_wrapper \
-D CMAKE_CXX_EXTENSIONS=OFF \
-D CMAKE_PREFIX_PATH="$KOKKOS_DIR;$ARBORX_DIR" \
-D MPIEXEC_PREFLAGS="--allow-run-as-root" \
examples \
'''
sh 'make VERBOSE=1'
Expand Down Expand Up @@ -266,6 +268,7 @@ pipeline {
-D CMAKE_CXX_COMPILER=clang++ \
-D CMAKE_CXX_EXTENSIONS=OFF \
-D CMAKE_PREFIX_PATH="$KOKKOS_DIR;$ARBORX_DIR" \
-D MPIEXEC_PREFLAGS="--allow-run-as-root" \
examples \
'''
sh 'make VERBOSE=1'
Expand Down Expand Up @@ -326,6 +329,7 @@ pipeline {
-D CMAKE_CXX_COMPILER=g++ \
-D CMAKE_CXX_EXTENSIONS=OFF \
-D CMAKE_PREFIX_PATH="$KOKKOS_DIR;$ARBORX_DIR" \
-D MPIEXEC_PREFLAGS="--allow-run-as-root" \
examples \
'''
sh 'make VERBOSE=1'
Expand Down Expand Up @@ -391,6 +395,7 @@ pipeline {
-D CMAKE_CXX_STANDARD=20 \
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D CMAKE_PREFIX_PATH="$KOKKOS_DIR;$ARBORX_DIR" \
-D MPIEXEC_PREFLAGS="--allow-run-as-root" \
examples \
'''
sh 'make VERBOSE=1'
Expand Down Expand Up @@ -456,6 +461,7 @@ pipeline {
-D CMAKE_CXX_EXTENSIONS=OFF \
-D CMAKE_CXX_FLAGS="-Wno-sycl-target -Wno-unknown-cuda-version -Wno-deprecated-declarations" \
-D CMAKE_PREFIX_PATH="$KOKKOS_DIR;$ARBORX_DIR" \
-D MPIEXEC_PREFLAGS="--allow-run-as-root" \
examples \
'''
sh '''
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/nightly.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pipeline {
sh 'ctest $CTEST_OPTIONS'
}
sh 'cmake --install build-arborx'
sh 'cmake -S examples -B build-examples -D ArborX_ROOT=$PWD/install-arborx -D Kokkos_ROOT=$PWD/install-kokkos $CMAKE_OPTIONS'
sh 'cmake -S examples -B build-examples -D ArborX_ROOT=$PWD/install-arborx -D Kokkos_ROOT=$PWD/install-kokkos -D MPIEXEC_PREFLAGS="--allow-run-as-root" $CMAKE_OPTIONS'
sh 'cmake --build build-examples --parallel 8'
dir('build-examples') {
sh 'ctest $CTEST_OPTIONS'
Expand Down

0 comments on commit 1a6af87

Please sign in to comment.