diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2018-12-28 22:50:48 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2018-12-28 22:50:48 (GMT) |
commit | 126d1e6176a490b9d4c73b1c7a75d697e9c7162c (patch) | |
tree | e70936e6767fa8fe9a46dd4dad2637fb10cdb39c /bin/batch | |
parent | ba095e6a53a919c9753463c3800a26b180b7a135 (diff) | |
download | hdf5-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')
-rw-r--r-- | bin/batch/ctestP.lsf.in.cmake | 19 | ||||
-rw-r--r-- | bin/batch/ctestS.lsf.in.cmake | 18 |
2 files changed, 37 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." diff --git a/bin/batch/ctestS.lsf.in.cmake b/bin/batch/ctestS.lsf.in.cmake new file mode 100644 index 0000000..a6f4ff8 --- /dev/null +++ b/bin/batch/ctestS.lsf.in.cmake @@ -0,0 +1,18 @@ +#!/bin/tcsh +### LSF syntax +#BSUB -n 1 #number of nodes +#BSUB -W 29 #walltime in minutes +#BSUB -G guests #account +#BSUB -e ctestSerrors.txt #stderr +#BSUB -o ctestSoutput.txt #stdout +#BSUB -J hdf5_ctestS #job +##BSUB -q pbatch #queue to use +#BSUB -q pdebug + +cd @HDF5_BINARY_DIR@ +echo "Run command. Test output will be in build/ctestS.out" +ctest . -E 'TEST_PAR|H5DIFF|PERFORM' -C Release -j 32 -T test >& ctestS.out + +##$CMD >& ctestS.out +echo "Done running command." + |