summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-30 17:03:39 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-30 17:03:39 (GMT)
commitb2147800a89fd09167942ec951e8aea6b798419c (patch)
treeaf5455bb27331ffa35c19defb3bbfad5501f4396
parentae0f4a23c074c46db245430e59ac0eb19859e538 (diff)
parent3145690c9590778b857def090489c6d890e42a5b (diff)
downloadhdf5-b2147800a89fd09167942ec951e8aea6b798419c.zip
hdf5-b2147800a89fd09167942ec951e8aea6b798419c.tar.gz
hdf5-b2147800a89fd09167942ec951e8aea6b798419c.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '3145690c9590778b857def090489c6d890e42a5b': 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"
+