Mercurial > hg > cc > cirrus_home
changeset 51:427056f1784e
a few tweaks after 2nd parallel run
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sat, 11 Apr 2020 13:41:46 +0100 |
parents | 5de261eb0deb |
children | 9cd9daf75183 |
files | bin/preExtract.sh |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/preExtract.sh Fri Apr 10 18:45:30 2020 +0100 +++ b/bin/preExtract.sh Sat Apr 11 13:41:46 2020 +0100 @@ -36,8 +36,8 @@ function sus () { sort "$@" | uniq -c | sort -k1nr,1 ; } s={1} p={2} - mkdir -p $s/logs - cd $s + mkdir -p /dev/shm/rex/$s/logs + cd /dev/shm/rex/$s echo $(date) starting $s/$p > log # Sigh, should not have used this in the extraction ... jobid=$(tar -tf ${h}/${s}/extract_0.tar logs/ | head -1 | \ @@ -90,13 +90,11 @@ : else echo " " "extra lines in ${e}_check.txt" >> log - cd .. continue fi elif [ $(fgrep -c a ${e}_check.txt) -ne $ni ] then echo " " "non-addition lines in ${e}_check.txt" >> log - cd .. continue fi echo " " starting tar update >> log @@ -107,6 +105,4 @@ echo "no diff, no update" $e >> log fi echo end extract: $e >> log - done - cd .. '