Archived
1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
compress/wavelet_speed.sh
2016-04-26 07:11:05 +01:00

25 lines
529 B
Bash
Executable file

#!/bin/bash
#SBATCH -t 0:30:00
#SBATCH -n 4
p=4
m=5
start=6
end=27
iters=100
if [[ `whoami` == "bissstud" ]]; then
cd $HOME/Students13/JoshuaMoerman/assignments
echo "Running on Cartesius $@"
RUNCOMMAND="srun"
else
echo "Running locally $@"
RUNCOMMAND=""
fi
for i in `seq $start $end`; do
echo -e "\n\033[1;34mtime\t`date`\033[0;39m"
let "n=2**$i"
$RUNCOMMAND ./build-Release/wavelet/wavelet_parallel_mockup --seq --m $m --n $n --p $p --show-input --iterations $iters
done
echo -e "\n\033[1;31mtime\t`date`\033[0;39m"