Page MenuHomec4science

poisson.sub
No OneTemporary

File Metadata

Created
Wed, Nov 13, 17:16

poisson.sub

#!/bin/bash
##SBATCH --reservation=phpc2017
##SBATCH --account=phpc2017
#SBATCH -N 1
#SBATCH -n 1
module load gcc
rm -f complexity.dat
for i in 128 256 512 1024
do
./poisson $i >> complexity.dat
done
slmodules -r deprecated
module load gnuplot
gnuplot <<EOF
set terminal svg
set output 'complexity.svg'
set multiplot layout 2,1
set key off
set xlabel "N [-]"
set ylabel "iter [-]"
plot "complexity.dat" u 1:2 w lp
set ylabel "time [s]"
plot "complexity.dat" u 1:2 w lp
EOF

Event Timeline