This repository has been archived on 2022-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
HPC/Project1/project_1_maggioni_claudio/membench/run_membench.sh

16 lines
413 B
Bash
Executable file

#!/bin/bash -l
#SBATCH --job-name=membench
#SBATCH --time=00:30:00
#SBATCH --nodes=1
#SBATCH --output=membench-%j.out
#SBATCH --error=membench-%j.err
# load modules
if command -v module 1>/dev/null 2>&1; then
module load gcc/10.1.0 gnuplot
fi
./membench | sed -e '/:/ s//: /g' -e '/ */ s// /g' | cut -f2,4,6 > generic.xxx && sed -e '/sarlacc/ s//generic/' gnuplot.template > generic.gp
gnuplot generic.gp