Correctly use `nr_minutes` argument
This commit is contained in:
parent
4beafc388c
commit
17630bcb34
|
@ -40,6 +40,7 @@ zmodload zsh/datetime
|
||||||
whichDSF=$1
|
whichDSF=$1
|
||||||
kBT=$2
|
kBT=$2
|
||||||
target_sumrule=$3
|
target_sumrule=$3
|
||||||
|
nr_minutes=$4
|
||||||
|
|
||||||
logfile='run_'$whichDSF'_kBT_'$kBT'_sr_'$target_sumrule'_'$(date '+%Y-%m-%d-%Hh%M')'.log'
|
logfile='run_'$whichDSF'_kBT_'$kBT'_sr_'$target_sumrule'_'$(date '+%Y-%m-%d-%Hh%M')'.log'
|
||||||
touch $logfile
|
touch $logfile
|
||||||
|
@ -58,7 +59,7 @@ do
|
||||||
echo $dir
|
echo $dir
|
||||||
mkdir -p $dir
|
mkdir -p $dir
|
||||||
cd $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
|
cd $basedir
|
||||||
echo ' Successfully completed run for c =' $c', kfact = '$nk'\n' | tee -a $logfile
|
echo ' Successfully completed run for c =' $c', kfact = '$nk'\n' | tee -a $logfile
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue