Skip to content

Commit

Permalink
Merge pull request #4838 from prckent/adjustci
Browse files Browse the repository at this point in the history
Adjust sulfur CI for throughput and debuggability
  • Loading branch information
prckent authored Nov 17, 2023
2 parents 124c59c + f953529 commit 7f3a6f9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-github-actions-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
GH_JOBNAME: ${{matrix.jobname}}
GH_OS: Linux
strategy:
fail-fast: false
fail-fast: true
matrix:
jobname: [
GCC11-NoMPI-MKL-Real-Mixed, # mixed precision
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
GH_JOBNAME: ${{matrix.jobname}}
GH_OS: Linux
strategy:
fail-fast: false
fail-fast: true
matrix:
jobname: [
V100-Clang16-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ case "$1" in

QMC_DATA_DIR=/scratch/ci/QMC_DATA_FULL

if [ -d ${GITHUB_WORKSPACE}/../qmcpack-build ]
if [ -d ${GITHUB_WORKSPACE}/../qmcpack-build-1 ]
then
echo "Found existing out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build, removing"
rm -fr ${GITHUB_WORKSPACE}/../qmcpack-build
echo "Found existing out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build-1, removing"
rm -fr ${GITHUB_WORKSPACE}/../qmcpack-build-1
fi

echo "Creating new out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build"
cd ${GITHUB_WORKSPACE}/.. && mkdir qmcpack-build && cd qmcpack-build
echo "Creating new out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build-1"
cd ${GITHUB_WORKSPACE}/.. && mkdir qmcpack-build-1 && cd qmcpack-build-1

# Build variants
# Real or Complex configuration
Expand Down Expand Up @@ -68,14 +68,14 @@ case "$1" in
;;

build)
cd ${GITHUB_WORKSPACE}/../qmcpack-build
cd ${GITHUB_WORKSPACE}/../qmcpack-build-1
ninja
;;

test)
source /opt/intel/oneapi/setvars.sh
echo "Running deterministic tests"
cd ${GITHUB_WORKSPACE}/../qmcpack-build
cd ${GITHUB_WORKSPACE}/../qmcpack-build-1
ctest --output-on-failure -L deterministic -j 32
;;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ case "$1" in
# caused by LLVM + GCC libstdc++ mismatch
BOOST_DIR=$HOME/opt/spack/linux-rhel9-cascadelake/gcc-9.4.0/boost-1.74.0-gdhlc5uynyw5un6mniss7nfjdyqqjd7p

if [ -d ${GITHUB_WORKSPACE}/../qmcpack-build ]
if [ -d ${GITHUB_WORKSPACE}/../qmcpack-build-2 ]
then
echo "Found existing out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build, removing"
rm -fr ${GITHUB_WORKSPACE}/../qmcpack-build
echo "Found existing out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build-2, removing"
rm -fr ${GITHUB_WORKSPACE}/../qmcpack-build-2
fi

echo "Creating new out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build"
cd ${GITHUB_WORKSPACE}/.. && mkdir qmcpack-build && cd qmcpack-build
echo "Creating new out-of-source build directory ${GITHUB_WORKSPACE}/../qmcpack-build-2"
cd ${GITHUB_WORKSPACE}/.. && mkdir qmcpack-build-2 && cd qmcpack-build-2

# Build variants
# Real or Complex configuration
Expand Down Expand Up @@ -120,7 +120,7 @@ case "$1" in
build)
# Verify nvcc
which nvcc
cd ${GITHUB_WORKSPACE}/../qmcpack-build
cd ${GITHUB_WORKSPACE}/../qmcpack-build-2
ninja
;;

Expand All @@ -136,7 +136,7 @@ case "$1" in
export LIBOMP_USE_HIDDEN_HELPER_TASK=0

echo "Running deterministic tests"
cd ${GITHUB_WORKSPACE}/../qmcpack-build
cd ${GITHUB_WORKSPACE}/../qmcpack-build-2
ctest --output-on-failure -E ppconvert -L deterministic -j 32
;;

Expand Down

0 comments on commit 7f3a6f9

Please sign in to comment.