diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2018-11-21 15:55:08 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2018-11-21 15:55:08 (GMT) |
commit | 9c7161e105aaade595c4f382e76ec3b95990ae91 (patch) | |
tree | d61f70f7fc086d562db4c824d5a38462cb25bf31 /bin/batch/knl_ctestS.sl | |
parent | 5a90dd3caee9843de2679bd53f888b2b3f453c00 (diff) | |
parent | 7bf6e98bd921c4ef1899144ab8a1f0d66a141141 (diff) | |
download | hdf5-9c7161e105aaade595c4f382e76ec3b95990ae91.zip hdf5-9c7161e105aaade595c4f382e76ec3b95990ae91.tar.gz hdf5-9c7161e105aaade595c4f382e76ec3b95990ae91.tar.bz2 |
Merge pull request #1334 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '7bf6e98bd921c4ef1899144ab8a1f0d66a141141':
Move wait_H5init.cmake up to config/cmake.
Changes to CMake code to pause cmake/ctest, waiting for batch jobs to run and finish.
Really don't run parallel tests without option specifying script.
Add script and changes to wait for H5Tinit.c Add more sample batch scripts, specifically for sbatch, not for knl cross compile. Don't run parallel tests when no parallel test script is configured in HDF5options.cmake.
Diffstat (limited to 'bin/batch/knl_ctestS.sl')
-rw-r--r-- | bin/batch/knl_ctestS.sl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/batch/knl_ctestS.sl b/bin/batch/knl_ctestS.sl new file mode 100644 index 0000000..5b77c5b --- /dev/null +++ b/bin/batch/knl_ctestS.sl @@ -0,0 +1,17 @@ +#!/bin/bash + +#SBATCH -p knl -C quad,flat +#SBATCH --nodes=1 +#SBATCH -t 00:30:00 +#SBATCH --mail-type=BEGIN,END,FAIL +##SBATCH --mail-user=<username>@sandia.gov +#SBATCH --export=ALL +#SBATCH --job-name=h5_ctestS + +cd build +CMD="ctest . -E TEST_PAR|H5DIFF|PERFORM -C Release -j 32 -T test" + +echo "Run $CMD. Test output will be in build/ctestS.out" +$CMD >& ctestS.out +echo "Done running $CMD" + |