summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2018-10-29 22:11:15 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2018-10-29 22:11:15 (GMT)
commit3145690c9590778b857def090489c6d890e42a5b (patch)
treef75b21f0b031de00b7bb1c4ecedaa6b83018e65c
parentff34cd0a0506ca16f4971cf03bd1b6e33bfa132c (diff)
parent41faaf271ca1de929c1e12ae13c40fc67a53edff (diff)
downloadhdf5-3145690c9590778b857def090489c6d890e42a5b.zip
hdf5-3145690c9590778b857def090489c6d890e42a5b.tar.gz
hdf5-3145690c9590778b857def090489c6d890e42a5b.tar.bz2
Merge pull request #1312 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '41faaf271ca1de929c1e12ae13c40fc67a53edff': Add script to run tests with sbatch when not cross compiling. Add new files to MANIFEST.
-rw-r--r--MANIFEST4
-rw-r--r--bin/batch/sbatch_ctestSP.sl28
2 files changed, 32 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 5733a23..716972d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -92,6 +92,9 @@
./bin/timekeeper _DO_NOT_DISTRIBUTE_
./bin/trace
./bin/yodconfigure
+./bin/batch/knl_ctestSP.sl
+./bin/batch/knl_H5detect.sl.in.cmake
+./bin/batch/sbatch_ctestSP.sl
./bin/pkgscrpts/h5rmflags _DO_NOT_DISTRIBUTE_
./bin/pkgscrpts/makeHDF5BinaryTarfiles.pl _DO_NOT_DISTRIBUTE_
./bin/pkgscrpts/makeInternalREADME.pl _DO_NOT_DISTRIBUTE_
@@ -3156,6 +3159,7 @@
./java/lib/ext/slf4j-simple-1.7.25.jar
# CMake-specific Files
+./config/toolchain/crayle.cmake
./config/toolchain/GCC.cmake
./config/toolchain/intel.cmake
diff --git a/bin/batch/sbatch_ctestSP.sl b/bin/batch/sbatch_ctestSP.sl
new file mode 100644
index 0000000..56da347
--- /dev/null
+++ b/bin/batch/sbatch_ctestSP.sl
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+#SBATCH -p knl -C quad,flat
+#SBATCH --nodes=1
+#SBATCH -t 01:00:00
+#SBATCH --mail-type=BEGIN,END,FAIL
+##SBATCH --mail-user=<username>@sandia.gov
+#SBATCH --export=ALL
+#SBATCH --job-name=h5_ctestS
+
+module load cmake
+module load craype-hugepages4M
+
+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"
+
+
+#run parallel tests except t_cache_image test
+CMD="ctest . -R TEST_PAR|PH5DIFF|PERFORM -E t_cache_image -C Release -T test"
+
+echo "Run $CMD. Test output will be in build/ctestP.out"
+$CMD >& ctestP.out
+echo "Done running $CMD"
+