Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix power9 jenkins #391

Merged
merged 3 commits into from
Dec 3, 2021
Merged
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
10 changes: 5 additions & 5 deletions .jenkins/stuttgart/Jenkinsfile-POWER9
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ pipeline {
dir('octotiger') {
/* Get spack cmake */
sh '''
srun -p sgs-only -N 1 -n 1 -t 03:00:00 bash -c "\
srun -p sgs-only -N 1 -n 1 -t 03:00:00 --exclusive bash -c "\
cd /scratch && \
mkdir -p jenkins && cd jenkins; \
if [[ ! -d spack ]]; then git clone --depth 1 https://github.com/spack/spack.git;fi; \
if [[ ! -d spack ]]; then git clone -b v0.17 --depth 1 https://github.com/spack/spack.git;fi; \
source spack/share/spack/setup-env.sh && \
spack install cmake@3.17.1 && \
spack load cmake@3.17.1 && echo 'Successfully installed/loaded spack cmake'"
'''
/* Log into the slurm node, create jenkins dir if not in existence, checkout octotiger and the buildscripts
(OctoTigerToolChain), move octotiger src to the correct folder within the buildscripts, download silo */
sh '''
srun -p sgs-only -N 1 -n 1 -t 03:00:00 bash -c "\
srun -p sgs-only -N 1 -n 1 -t 03:00:00 --exclusive bash -c "\
cd /scratch && \
mkdir -p jenkins && cd jenkins && \
mkdir -p octotiger-${JOB_BASE_NAME} && cd octotiger-${JOB_BASE_NAME} && \
Expand Down Expand Up @@ -116,7 +116,7 @@ pipeline {
stage('build') {
steps {
sh '''
srun -p sgs-only -N 1 -n 1 -t 02:00:00 -D /data/scratch/jenkins/octotiger-${JOB_BASE_NAME}/OctoTigerBuildChain bash -c \
srun -p sgs-only -N 1 -n 1 -t 02:00:00 --exclusive -D /data/scratch/jenkins/octotiger-${JOB_BASE_NAME}/OctoTigerBuildChain bash -c \
"source /scratch/jenkins/spack/share/spack/setup-env.sh && spack load cmake@3.17.1 &&\
module load gcc/8.2.0 && module load cuda/10.2 &&\
./build-all.sh Release with-CC with-cuda without-mpi without-papi without-apex with-kokkos with-simd without-hpx-backend-multipole without-hpx-backend-monopole with-hpx-cuda-polling "
Expand All @@ -126,7 +126,7 @@ pipeline {
stage('ctest-all') {
steps {
sh '''
srun -p sgs-only -N 1 -n 1 -t 02:00:00 -D /data/scratch/jenkins/octotiger-${JOB_BASE_NAME}/OctoTigerBuildChain/build/octotiger/build bash -c \
srun -p sgs-only -N 1 -n 1 -t 02:00:00 --exclusive -D /data/scratch/jenkins/octotiger-${JOB_BASE_NAME}/OctoTigerBuildChain/build/octotiger/build bash -c \
"source /scratch/jenkins/spack/share/spack/setup-env.sh && spack load cmake@3.17.1 &&\
module load gcc/8.2.0 && module load cuda/10.2 && ctest --output-on-failure"
'''
Expand Down