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 failure on Jenkins nightly ctest #125

Merged
merged 4 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion sorc/test/hera_ctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
set -eux

source ../../versions/build.ver_hera
module use ../../modulefiles && module load build_hera_intel
module use ../../modulefiles
module load build_hera_intel

ctest

Expand Down
3 changes: 2 additions & 1 deletion sorc/test/orion_ctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
set -eux

source ../../versions/build.ver_orion
module use ../../modulefiles && module load build_orion_intel
module use ../../modulefiles
module load build_orion_intel

ctest

Expand Down
4 changes: 2 additions & 2 deletions sorc/test/run_hera_ctest.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
set -eux

JOB_ID=$(sbatch --job-name=ctest --account=nems --qos=debug --ntasks-per-node=6 --nodes=1 --time=00:30:00 ./hera_ctest.sh | awk '{print $4}')
JOB_ID=$(sbatch --job-name=ctest --account=nems --qos=debug --ntasks-per-node=7 --nodes=1 --time=00:30:00 ./hera_ctest.sh | awk '{print $4}')

CHECK_ID=$(sbatch --job-name=ctest --account=nems --qos=debug --ntasks-per-node=1 --nodes=1 --time=00:01:00 --dependency=afterok:$JOB_ID ./check_ctest.sh)

sleep 3m
sleep 5m

if [ -f out.ctest ]; then
cat out.ctest
Expand Down
6 changes: 3 additions & 3 deletions sorc/test/run_orion_ctest.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
set -eux

JOB_ID=$(sbatch --job-name=ctest --account=epic --qos=debug --ntasks-per-node=6 --nodes=1 --time=00:30:00 ./orion_ctest.sh | awk '{print $4}')
JOB_ID=$(sbatch --job-name=ctest --account=nems --qos=batch --ntasks-per-node=7 --nodes=1 --time=02:00:00 ./orion_ctest.sh | awk '{print $4}')

CHECK_ID=$(sbatch --job-name=ctest --account=epic --qos=debug --ntasks-per-node=1 --nodes=1 --time=00:01:00 --dependency=afterok:$JOB_ID ./check_ctest.sh)
CHECK_ID=$(sbatch --job-name=ctest --account=nems --qos=debug --ntasks-per-node=1 --nodes=1 --time=00:01:00 --dependency=afterok:$JOB_ID ./check_ctest.sh)

sleep 3m
sleep 30m

if [ -f out.ctest ]; then
cat out.ctest
Expand Down
Loading