summaryrefslogtreecommitdiff
path: root/report/figures/wall-times/split.sh
blob: b3c2794c8fdd681aa800a6482d0dceced5e0f198 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

# Split up Joe's performance data by constant matrix size and plot vs. eigenvalues and wall time.
# Only include 128 core data

NSIZE=$(seq 500 250 1750)
NPROC=128

for N in $NSIZE; do
    # Grab the relevant files
    awk -F"," -v N="$N" '$3==128 && $1==N {print $2,$7}' performance.csv > $N\_128_perf.out
done


# Now do the same except split it up by blocks of constant sample size and investigat the matrix size

NSAMPLES="128 256 512 1024 2048 4096"

for L in $NSAMPLES; do
    awk -F"," -v L="$L" '$3==128 && $2==L {print $1, $7}' performance.csv > $L\_128_perf.out
done