#!/bin/bash set -e #uncomment to a more verbose script #set -x FAULTS=1000 #CONFFILE=codes/matrixMul/matrixmul_16K.conf CONFFILE=codes/mmElem/matrixmul.conf #CONFFILE=codes/lavaMD/lavaMD.conf echo "Step 1 - Profiling the application for fault injection" ./app_profiler.py -c ${CONFFILE} $* echo "Step 2 - Running ${FAULTS} on ${CONFFILE}" ./fault_injector.py -i ${FAULTS} -c ${CONFFILE} -n 1 $* echo $? echo "Fault injection finished" exit 0