Mercurial > hg > cc > cirrus_home
annotate 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 |
rev | line source |
---|---|
0 | 1 #!/usr/bin/bash |
11 | 2 module load miniconda/python3 |
0 | 3 echo $(date) $(hostname) |
4 h=$(hostname) | |
5 hn=${h##*n} | |
12
29263ba42361
add args for start tar and number of tars
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
11
diff
changeset
|
6 if [ $hn -eq 0 ] |
29263ba42361
add args for start tar and number of tars
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
11
diff
changeset
|
7 then seq --format="%03.0f" $1 $2 |
29263ba42361
add args for start tar and number of tars
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
11
diff
changeset
|
8 else seq --format="%03.0f" $3 $4 |
29263ba42361
add args for start tar and number of tars
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
11
diff
changeset
|
9 fi |\ |
29263ba42361
add args for start tar and number of tars
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
11
diff
changeset
|
10 parallel --will-cite -j 48 -N 1 bin/doPlinks.sh ${hn} '{#}' '{}' |
7 | 11 echo $(date) $(hostname) $? |