16 lines
413 B
Bash
Executable file
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
|