#!/bin/bash INTEL_MKL=${1:-""} # 0 or 1 to use intel_mkl FEAT="" if [ "${INTEL_MKL}" = "1" ]; then FEAT="--features intel_mkl,local_suitesparse" fi cargo build $FEAT VALGRIND="cargo valgrind run $FEAT" $VALGRIND --bin amplifier1t