Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at and make sure that your projects conform to the requirements.

Commit 1920c90c authored by Philipp J. Meyer's avatar Philipp J. Meyer
Browse files

Updated benchmark script for lola

parent 29918a87
#benchmarks=( 'service-tech/ibm-soundness' 'service-tech/sap-reference' )
#benchmarks=( 'cav-benchmarks/mist' 'cav-benchmarks/wahl-kroening' 'cav-benchmarks/soter' 'cav-benchmarks/medical' 'cav-benchmarks/bug_tracking' )
benchmarks=( 'service-tech/ibm-soundness' )
#benchmarks=( 'service-tech/sap-reference' )
extensions=( 'pnet' 'tpn' 'lola' 'spec' )
extensions=( 'lola' )
properties=( 'safe' 'fin' )
#1 hour
time_soft=$(expr 1 \* 3600)
time_hard=$(expr $time_soft + 60)
#2 gigabyte
mem_soft=$(expr 2 \* 1024 \* 1024)
#8 gigabyte
mem_soft=$(expr 8 \* 1024 \* 1024)
mem_hard=$(expr $mem_soft + 1024)
properties=( 'safe' )
for benchmark in ${benchmarks[@]}; do
for prop in ${properties[@]}; do
......@@ -34,8 +32,8 @@ for benchmark in ${benchmarks[@]}; do
ulimit -S -v $mem_soft
ulimit -H -v $mem_hard
set -o pipefail;
echo $executable -f $file.$prop.task1 $file.$prop
$executable -f $file.$prop.task1 $file.$prop 2>&1 | tee $file.out
echo $executable $options -f $file.$prop.task $file
$executable $options -f $file.$prop.task $file 2>&1 | tee $file.out
ryes=$(grep "result: yes" $file.out)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment