summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2018-10-29 21:17:10 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2018-10-29 21:17:10 (GMT)
commitf031cc7b7a11c783e16cd928f534ca0197e61522 (patch)
tree7449272e7dcf906ccc383ef0ccbf41e1788da19b /bin
parentb24259ed8cdb273273f82c2b3f3a2dcac60b32ba (diff)
downloadhdf5-f031cc7b7a11c783e16cd928f534ca0197e61522.zip
hdf5-f031cc7b7a11c783e16cd928f534ca0197e61522.tar.gz
hdf5-f031cc7b7a11c783e16cd928f534ca0197e61522.tar.bz2
Add script to run tests with sbatch when not cross compiling.
Add new files to MANIFEST.
Diffstat (limited to 'bin')
-rw-r--r--bin/batch/sbatch_ctestSP.sl28
1 files changed, 28 insertions, 0 deletions
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"
+