#!/bin/bash

#------------------------------ weak scaling ---------------------------------#

sdir=slurm_runs_N

n_iter=100

outfile=srl_N_10000_${n_iter}_1_1_1.dat
echo "Output file name : " $outfile

mkdir -p outputs

rm -f outputs/$outfile
rm -f out_*.pgm
rm -f out_*.bmp

cd ../../src 			# go there to compile
make srl
cd ../analysis/cluster	# come back here to run

### problem size doubles when number of processors doubles
### --> N multiplied by sqrt(2)

N=10000

echo "Going to run several times mandel_srl, with parameters N = $N, \
max iter = $n_iter, rows = 1, procs = 1, threads = 1)"

sbatch -n 1 ${sdir}/run_srl_N_${N}_${n_iter}.slurm


#-----------------------------------------------------------------------------#


Add test with fix N for serial code, for strong scaling normalization
Add test with fix N for serial code, for strong scaling normalization
