annotate bin/plinks.sh @ 177:354dae8aeb80

moved to work tree
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 05 Jul 2023 14:52:00 +0100
parents 29263ba42361
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
65a56c0d1c1f bolting the barn door...
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 #!/usr/bin/bash
11
b0d9fe66ce8a give up on mpiexec_mpt
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 10
diff changeset
2 module load miniconda/python3
0
65a56c0d1c1f bolting the barn door...
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 echo $(date) $(hostname)
65a56c0d1c1f bolting the barn door...
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4 h=$(hostname)
65a56c0d1c1f bolting the barn door...
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
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
25ca3505b4d7 more logging
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 6
diff changeset
11 echo $(date) $(hostname) $?