Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91707704
poisson.sub
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 13, 17:16
Size
484 B
Mime Type
text/x-shellscript
Expires
Fri, Nov 15, 17:16 (2 d)
Engine
blob
Format
Raw Data
Handle
22279480
Attached To
R7871 phys-743-exercises
poisson.sub
View Options
#!/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
Log In to Comment