view bin/plinks.sh @ 168:57cf91a0d97d

x
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 20 Jul 2022 19:46:51 +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) $?