comparison bin/_runme.sh @ 252:39c3835716f3

run with login shell
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Fri, 17 Jan 2025 20:35:21 +0000
parents 235004978b22
children
comparison
equal deleted inserted replaced
251:5fd61d2633c4 252:39c3835716f3
89 else 89 else
90 cat 90 cat
91 fi | \ 91 fi | \
92 if [ $pjobs -le 1 ] 92 if [ $pjobs -le 1 ]
93 then 93 then
94 xargs -I ^ -n 1 bash -c "doit ^" 94 xargs -I ^ -n 1 bash -lc "doit ^"
95 else 95 else
96 parallel --line-buffer -j $pjobs doit '{}' 96 parallel --line-buffer -j $pjobs doit '{}'
97 fi 97 fi
98 98
99 echo $(date) task $n.$task on $nodename:$N.$node end 1>&2 99 echo $(date) task $n.$task on $nodename:$N.$node end 1>&2