Add more sample batch scripts, specifically for sbatch, not for knl cross compile. Don't run parallel tests when no parallel test script is configured in HDF5options.cmake.
19 lines
444 B
Plaintext
19 lines
444 B
Plaintext
#!/bin/bash
|
|
|
|
#SBATCH -p knl -C quad,flat
|
|
#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 build
|
|
#run parallel tests except t_cache_image test
|
|
CMD="ctest . -R TEST_PAR|PH5DIFF|PERFORM -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"
|
|
|