aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/analysis/scripts/shared/julia_shared_3.sh
blob: 24a5d59750a258fc40524a54c95abb59d41d628d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#SBATCH -p shared
#SBATCH -t 0:30:00
#SBATCH -o analysis/data/%x.%j.csv
#SBATCH -e analysis/error/%x.%j.err
#SBATCH --cpus-per-task=3

THREADS=$SLURM_CPUS_PER_TASK
BLOCK_SIZE=1

square_resolutions="10 100 1000 10000 10000"
square_resolutions+=" 16 32 64 128 256 512 1024 2048 4096 8192 16384" 

for res in $square_resolutions; do
    performance_info=$(build/shared-fractals -p -c -0.8+0.156i -r 4 -x $res -y $res -o /dev/null -f julia)
    echo "$performance_info,$THREADS,$BLOCK_SIZE"
done