File indexing completed on 2025-08-05 08:13:26
0001
0002
0003 nmax=15000
0004 filecounter=0
0005 echo `pwd`
0006 LISTDIR=lists
0007 for rn in `cat fullgoodrunlist.list`; do
0008 rn=$(expr $rn + 0)
0009 nfile=`wc -l ${LISTDIR}/dst_calofitting_run2pp-000${rn}.list | awk '{print $1}'`
0010 njob=$(( $nfile + 19 ))
0011 njob=$(( $njob / 20 ))
0012 filecounter=$(( $filecounter + $njob ))
0013 if [ $filecounter -gt $nmax ]; then
0014 break
0015 fi
0016 echo $rn $filecounter
0017 bash run_everything.sh $njob $rn $nfile `pwd`
0018 done
0019
0020