view bin/plinks.sh @ 164:00b14a35280e

work-path bin dir
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 18 Jul 2022 18:30:56 +0100
parents 29263ba42361
children
line wrap: on
line source

#!/usr/bin/bash
module load miniconda/python3
echo $(date) $(hostname)
h=$(hostname)
hn=${h##*n}
if [ $hn -eq 0 ]
then seq --format="%03.0f" $1 $2
else seq --format="%03.0f" $3 $4
fi |\
parallel --will-cite -j 48 -N 1 bin/doPlinks.sh ${hn} '{#}' '{}'
echo $(date) $(hostname) $?