Skip to content
Snippets Groups Projects
Verified Commit c862a9ed authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Complete 59625184 (nofast option in shell script).

parent 59625184
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,14 @@ else ...@@ -10,6 +10,14 @@ else
echo "Number of iterations is niter=$ITERATIONS." echo "Number of iterations is niter=$ITERATIONS."
fi 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 ] if [ ! -v DYNARE ]
then then
echo "Path to dynare must be provided." echo "Path to dynare must be provided."
...@@ -38,7 +46,7 @@ do ...@@ -38,7 +46,7 @@ do
then then
while [ ! -f $model-done.info ] while [ ! -f $model-done.info ]
do 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 done
printf " \u2714 $model\n" printf " \u2714 $model\n"
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment