Mercurial > hg > cc > cirrus_home
view bin/doCLM.sh @ 176:97137f5bbe0f
working, about to move to work tree
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 05 Jul 2023 14:50:00 +0100 |
parents | ef961d91eea5 |
children |
line wrap: on
line source
#!/usr/bin/bash mkdir -p /dev/shm/hst c=$1 i=$2 f=$(printf 'cdx-%05.0f.gz' $i) unpigz -dp 1 -c data/$c/cdx/warc/$f | parallel --willcite --pipe -N 50000 -j10 "ix.py -x -h -c '/lustre/home/dc007/hst/bin/clm.sh /dev/shm/hst/'$i'.lmh_{#}.txt' 2>/dev/shm/hst/$i.lmh_{#}.errs" cd /dev/shm/hst tar -czf $HOME/results/${i}.lmh.tar.gz ${i}.lmh_*.{txt,errs}