Skip to content

Commit

Permalink
Fixed regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-Kakodkar committed Jan 9, 2024
1 parent 95e9028 commit 853c25b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .jenkins/regression_tests.gvy
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ pipeline {
steps {
echo " Building SPECFEM "
sh """
cmake -S . -B build_cpu -DCMAKE_BUILD_TYPE=Release
module load boost/1.73.0
cmake -S . -B build_cpu -DCMAKE_BUILD_TYPE=Release -D BUILD_TESTS=ON
cmake3 --build build_cpu
"""
}
Expand All @@ -48,7 +49,7 @@ pipeline {
sh """
module load cudatoolkit/11.7
module load boost/1.73.0
cmake -S . -B build_gpu -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_AMPERE80=ON -DKokkos_ENABLE_OPENMP=ON
cmake -S . -B build_gpu -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_AMPERE80=ON -DKokkos_ENABLE_OPENMP=ON -D BUILD_TESTS=ON
cmake3 --build build_gpu
"""
}
Expand Down Expand Up @@ -146,7 +147,7 @@ pipeline {
stage (' Checkout main branch '){
steps {
checkout([$class: 'GitSCM',
branches: [[name: 'code-along']],
branches: [[name: 'main']],
extensions: [lfs()],
userRemoteConfigs: [[url: 'https://github.com/PrincetonUniversity/specfempp']]])
}
Expand All @@ -168,7 +169,8 @@ pipeline {
steps {
echo " Building SPECFEM "
sh """
cmake -S . -B build_cpu -DCMAKE_BUILD_TYPE=Release
module load boost/1.73.0
cmake -S . -B build_cpu -DCMAKE_BUILD_TYPE=Release -D BUILD_TESTS=ON
cmake3 --build build_cpu
"""
}
Expand All @@ -180,7 +182,7 @@ pipeline {
sh """
module load cudatoolkit/11.7
module load boost/1.73.0
cmake -S . -B build_gpu -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_AMPERE80=ON -DKokkos_ENABLE_OPENMP=ON
cmake -S . -B build_gpu -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_CUDA=ON -DKokkos_ARCH_AMPERE80=ON -DKokkos_ENABLE_OPENMP=ON -D BUILD_TESTS=ON
cmake3 --build build_gpu
"""
}
Expand Down

0 comments on commit 853c25b

Please sign in to comment.