From c862a9ed3beb3061fb5a02d1940c9a96c51252b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stepan@adjemian.eu> Date: Thu, 17 Oct 2024 16:08:07 +0200 Subject: [PATCH] Complete 59625184fc (nofast option in shell script). --- run.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 2bc2f3d..5a544ba 100755 --- a/run.sh +++ b/run.sh @@ -10,6 +10,14 @@ else echo "Number of iterations is niter=$ITERATIONS." fi +if [ ! -v NOFAST ] +then + echo "Use fast option (with use_dll)." + NOFAST=false +else + echo "Do not use fast option (with use_dll)" +fi + if [ ! -v DYNARE ] then echo "Path to dynare must be provided." @@ -38,7 +46,7 @@ do then while [ ! -f $model-done.info ] do - matlab -batch "addpath $DYNARE; addpath $WHEREAMI/matlab; MODEL='$model'; niter=$ITERATIONS; run_all_simulations;" |& tee -a $model-all.log + matlab -batch "addpath $DYNARE; addpath $WHEREAMI/matlab; MODEL='$model'; niter=$ITERATIONS; nofast=$NOFAST; run_all_simulations;" |& tee -a $model-all.log done printf " \u2714 $model\n" else -- GitLab