文件
gprMax/reframe_tests/job_scripts/archer2_benchmarks.slurm
2024-07-23 14:36:10 +01:00

20 行
640 B
Bash

#!/bin/bash
#SBATCH --job-name=gprMax-benchmarks
#SBATCH --time=24:0:0
#SBATCH --ntasks=1
#SBATCH --partition=serial
#SBATCH --qos=serial
#SBATCH --output=output/archer2/rfm_bench_%J.out
# Set the number of threads to 1
# This prevents any threaded system libraries from automatically
# using threading.
export OMP_NUM_THREADS=1
source ../.venv/bin/activate
# Any commandline arguments provided will be passed to reframe
reframe -C configuration/archer2_settings.py -c benchmark_tests/ -c tests/base_tests.py -r --performance-report "$@"
sacct --format=JobID,State,Submit,Start,End,Elapsed,NodeList,ReqMem --units=M -j $SLURM_JOBID