Tweak script
This commit is contained in:
부모
5125a85878
커밋
3477975099
|
@ -10,8 +10,8 @@
|
|||
# executable is invoked.
|
||||
|
||||
|
||||
if [[ $# -ne 4 ]]; then
|
||||
echo "Arguments needed: whichDSF, kBT, target_sumrule, nr_minutes (for each c, k combination)."
|
||||
if [[ $# -ne 4 ]]; then
|
||||
echo "Arguments needed: whichDSF, kBT, target_sumrule, nr_minutes (for each c, k combination)."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -41,7 +41,7 @@ whichDSF=$1
|
|||
kBT=$2
|
||||
target_sumrule=$3
|
||||
|
||||
logfile='run-'$(strftime '%Y-%m-%d-%Hh%m')'.log'
|
||||
logfile='run_'$whichDSF'_kBT_'$kBT'_sr_'$target_sumrule'_'$(date '+%Y-%m-%d-%Hh%M')'.log'
|
||||
touch $logfile
|
||||
|
||||
clist=(1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25 0.125 0.0625 0.03125 0.015625)
|
||||
|
@ -51,7 +51,7 @@ basedir="$(pwd)"
|
|||
|
||||
for c in $clist
|
||||
do
|
||||
for nk in {1..16}
|
||||
for nk in {1..16}
|
||||
do
|
||||
echo 'Starting run for c =' $c', kfact = '$nk | tee -a $logfile
|
||||
dir='c_'$c'/kBT_'$kBT'/k_fixed/k_'${(l:2::0:)nk}'kFo4/sr_'$target_sumrule
|
||||
|
@ -62,4 +62,4 @@ do
|
|||
cd $basedir
|
||||
echo ' Successfully completed run for c =' $c', kfact = '$nk'\n' | tee -a $logfile
|
||||
done
|
||||
done
|
||||
do
|
||||
|
|
불러오는 중...
Reference in New Issue