Skip to content

Commit

Permalink
Fix failure on Jenkins nightly ctest (#125)
Browse files Browse the repository at this point in the history
* increase wtime for nightly jenkins test

* change time limit

* change account back to nems

* add missing change
  • Loading branch information
chan-hoo authored Jul 3, 2024
1 parent 0ce07ce commit 09f445e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
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

0 comments on commit 09f445e

Please sign in to comment.