summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/batch/ctestS.sl.in.cmake1
-rw-r--r--bin/batch/sandia_ctestP.sl.in.cmake17
-rw-r--r--bin/batch/sandia_ctestS.sl.in.cmake16
3 files changed, 33 insertions, 1 deletions
diff --git a/bin/batch/ctestS.sl.in.cmake b/bin/batch/ctestS.sl.in.cmake
index a5d7d76..f772be9 100644
--- a/bin/batch/ctestS.sl.in.cmake
+++ b/bin/batch/ctestS.sl.in.cmake
@@ -1,6 +1,5 @@
#!/bin/bash
-#SBATCH -p knl -C quad,cache
#SBATCH --nodes=1
#SBATCH -t 00:30:00
#SBATCH --mail-type=BEGIN,END,FAIL
diff --git a/bin/batch/sandia_ctestP.sl.in.cmake b/bin/batch/sandia_ctestP.sl.in.cmake
new file mode 100644
index 0000000..55d47eb
--- /dev/null
+++ b/bin/batch/sandia_ctestP.sl.in.cmake
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+##SBATCH --account=fy140085 # WC ID
+#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_ctestP
+
+cd @HDF5_BINARY_DIR@
+CMD="ctest . -R TEST_PAR|PH5DIFF|PERFORM|ph5example -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"
+
diff --git a/bin/batch/sandia_ctestS.sl.in.cmake b/bin/batch/sandia_ctestS.sl.in.cmake
new file mode 100644
index 0000000..3d491b7
--- /dev/null
+++ b/bin/batch/sandia_ctestS.sl.in.cmake
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+##SBATCH --account=fy140085 # WC ID
+#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@
+CMD="ctest . -E TEST_PAR|H5DIFF|PERFORM|ph5example -C Release -j 32 -T test"
+
+echo "Run $CMD. Test output will be in build/ctestS.out"
+$CMD >& ctestS.out
+echo "Done running $CMD"