Mercurial > hg > cc > cirrus_home
annotate bin/plinks.sh @ 196:436c976ed27f
try to get -m working properly
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Tue, 22 Apr 2025 14:32:50 +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) $? |
