#!/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