summaryrefslogtreecommitdiffstats
path: root/bin/batch/knl_ctestP.sl.in.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'bin/batch/knl_ctestP.sl.in.cmake')
-rw-r--r--bin/batch/knl_ctestP.sl.in.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/batch/knl_ctestP.sl.in.cmake b/bin/batch/knl_ctestP.sl.in.cmake
new file mode 100644
index 0000000..79dfb89
--- /dev/null
+++ b/bin/batch/knl_ctestP.sl.in.cmake
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+#SBATCH -p knl -C quad,cache
+#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 @HDF5_BINARY_DIR@
+#run parallel tests except t_cache_image test
+CMD="ctest . -R MPI_TEST_ -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"
+