Mercurial > hg > cc > cirrus_work
changeset 12:1ce51aacc468
fix quoting pblm by using parallel ... -q
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 28 Jul 2022 17:30:10 +0100 |
parents | dfdb95e5d774 |
children | 06a01a4cbeca |
files | bin/_c2t.sh |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/_c2t.sh Thu Jul 28 14:45:35 2022 +0100 +++ b/bin/_c2t.sh Thu Jul 28 17:30:10 2022 +0100 @@ -15,13 +15,13 @@ cc=$1 shift -resdir=$W/hst/results/$cc/$2 +resdir=$W/hst/results/$cc/$1 shift -s1=$3 +s1=$1 shift -sn=$4 +sn=$1 shift -kf=$5 # key field for sorting +kf=$1 # key field for sorting shift echo $(date) task $n.$task on $nodename:$N.$node start @@ -40,9 +40,9 @@ echo $(date) end $seg $task $PARALLEL_SEQ ;} export -f doit -export cc resdir n task +export cc resdir n task kf -$W/hst/bin/share_by_task.sh -f "%03g\n" -s $s1 $sn $n $task | parallel -j $pjobs doit '{}' "$@" +$W/hst/bin/share_by_task.sh -f "%03g\n" -s $s1 $sn $n $task | parallel -j $pjobs -q doit '{}' "$@" echo $(date) task $n.$task on $nodename:$N.$node end