summaryrefslogtreecommitdiffstats
path: root/bin/batch/ctestP.lsf.in.cmake
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2018-12-28 22:50:48 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2018-12-28 22:50:48 (GMT)
commit126d1e6176a490b9d4c73b1c7a75d697e9c7162c (patch)
treee70936e6767fa8fe9a46dd4dad2637fb10cdb39c /bin/batch/ctestP.lsf.in.cmake
parentba095e6a53a919c9753463c3800a26b180b7a135 (diff)
downloadhdf5-126d1e6176a490b9d4c73b1c7a75d697e9c7162c.zip
hdf5-126d1e6176a490b9d4c73b1c7a75d697e9c7162c.tar.gz
hdf5-126d1e6176a490b9d4c73b1c7a75d697e9c7162c.tar.bz2
Add .lsf batch scripts and insert the build directory into the scripts
during configuration.
Diffstat (limited to 'bin/batch/ctestP.lsf.in.cmake')
-rw-r--r--bin/batch/ctestP.lsf.in.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/batch/ctestP.lsf.in.cmake b/bin/batch/ctestP.lsf.in.cmake
new file mode 100644
index 0000000..c410a1d
--- /dev/null
+++ b/bin/batch/ctestP.lsf.in.cmake
@@ -0,0 +1,19 @@
+#!/bin/tcsh
+### LSF syntax
+#BSUB -n 1 #number of nodes
+#BSUB -W 30 #walltime in minutes
+#BSUB -G guests #account
+#BSUB -e ctestPerrors.txt #stderr
+#BSUB -o ctestPoutput.txt #stdout
+#BSUB -J hdf5_ctestP #job
+##BSUB -q pbatch #queue to use
+#BSUB -q pdebug
+
+##date; hostname
+##echo -n 'JobID is '; echo $LSB_JOBID
+
+cd @HDF5_BINARY_DIR@
+echo "Run parallel test command. Test output will be in build/ctestP.out"
+ctest . -R 'TEST_PAR|PH5DIFF|PERFORM' -E t_cache_image -C Release -T test >& ctestP.out
+
+echo "Done running ctest parallel command."