From 17630bcb349025b32f317fbf749083e69ff918ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien?= Date: Thu, 9 Dec 2021 21:37:49 +0100 Subject: [PATCH] Correctly use `nr_minutes` argument --- scripts/build_LiebLin_catalogue_k_fixed.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build_LiebLin_catalogue_k_fixed.sh b/scripts/build_LiebLin_catalogue_k_fixed.sh index 23c1827..e2e6223 100755 --- a/scripts/build_LiebLin_catalogue_k_fixed.sh +++ b/scripts/build_LiebLin_catalogue_k_fixed.sh @@ -40,6 +40,7 @@ zmodload zsh/datetime whichDSF=$1 kBT=$2 target_sumrule=$3 +nr_minutes=$4 logfile='run_'$whichDSF'_kBT_'$kBT'_sr_'$target_sumrule'_'$(date '+%Y-%m-%d-%Hh%M')'.log' touch $logfile @@ -58,7 +59,7 @@ do echo $dir mkdir -p $dir cd $dir - LiebLin_Catalogue_Fixed_c_k_Nscaling $whichDSF $c $nk $kBT $target_sumrule 0 1 | tee -a $basedir/$logfile + LiebLin_Catalogue_Fixed_c_k_Nscaling $whichDSF $c $nk $kBT $target_sumrule 0 $nr_minutes | tee -a $basedir/$logfile cd $basedir echo ' Successfully completed run for c =' $c', kfact = '$nk'\n' | tee -a $logfile done