From c846568cf28b4d128cf893dc0abb6ccb5ccdcc32 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Wed, 8 Dec 2021 01:50:12 -0700 Subject: Timing study --- serial/timing-study/timing_study.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 serial/timing-study/timing_study.sh (limited to 'serial/timing-study/timing_study.sh') diff --git a/serial/timing-study/timing_study.sh b/serial/timing-study/timing_study.sh new file mode 100644 index 0000000..20f405d --- /dev/null +++ b/serial/timing-study/timing_study.sh @@ -0,0 +1,19 @@ +#!/bin/bash +#SBATCH --time=0:35:00 # walltime, abbreviated by -t +#SBATCH --nodes=1 # number of cluster nodes, abbreviated by -N +#SBATCH -o slurm-%j.out-%N # name of the stdout, using the job number (%j) and the first node (%N) +#SBATCH -e slurm-%j.err-%N # name of the stderr, using job and first node values +#SBATCH --ntasks=1 # number of MPI tasks, abbreviated by -n +# additional information for allocated clusters +#SBATCH --account=usucs5030 # account - abbreviated by -A +#SBATCH --partition=kingspeak # partition, abbreviated by -p + +cd $HOME/gol/serial + +iterations=1000 +cores=1 + +for size in 250 500 750 1000 1250 1500 1750 2000 +do + ./gol simulate random $size $size $iterations 1 > timing-study/output-$cores-$iterations-$size.txt +done -- cgit v1.2.3-70-g09d2