summaryrefslogtreecommitdiffstats
path: root/bin/batch/knl_H5detect.sl.in.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-12-13 21:50:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-12-13 21:50:13 (GMT)
commit0e5ac5fe2ff3faadeab97719baae2ad9f986b622 (patch)
tree07404e07b6b5064212e7a6149c926f8b27553198 /bin/batch/knl_H5detect.sl.in.cmake
parentbc4e1c2e5498c099634a4f9315814dc543a1c284 (diff)
downloadhdf5-0e5ac5fe2ff3faadeab97719baae2ad9f986b622.zip
hdf5-0e5ac5fe2ff3faadeab97719baae2ad9f986b622.tar.gz
hdf5-0e5ac5fe2ff3faadeab97719baae2ad9f986b622.tar.bz2
HDFFV-10660,-10594 merge from develop
Diffstat (limited to 'bin/batch/knl_H5detect.sl.in.cmake')
-rw-r--r--bin/batch/knl_H5detect.sl.in.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/batch/knl_H5detect.sl.in.cmake b/bin/batch/knl_H5detect.sl.in.cmake
new file mode 100644
index 0000000..39a3ef3
--- /dev/null
+++ b/bin/batch/knl_H5detect.sl.in.cmake
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+#SBATCH -p knl -C quad
+#SBATCH --nodes=1
+#SBATCH -t 00:10:00
+#SBATCH --mail-type=BEGIN,END,FAIL
+#SBATCH --mail-user=<username>@sandia.gov
+#SBATCH --export=ALL
+#SBATCH --job-name=knl_h5detect
+
+
+# Inputs: Build directory, output file name, executable file name (username/email if available).
+PROGNAME=H5detect
+OUTPUT=H5Tinit.c
+
+CMD="@HDF5_BINARY_DIR@/bin/${PROGNAME} @HDF5_GENERATED_SOURCE_DIR@/${OUTPUT}"
+echo "Run $CMD"
+srun -n 1 $CMD
+echo "Done running $CMD"
+