annotate bin/plinks.sh @ 11:b0d9fe66ce8a

give up on mpiexec_mpt
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 25 Feb 2020 18:33:22 +0000
parents a33db8e3f51c
children 29263ba42361
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}
11
b0d9fe66ce8a give up on mpiexec_mpt
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 10
diff changeset
6 if [ $hn -eq 0 ]; then echo {013..014}; else echo {015..016}; fi |\
b0d9fe66ce8a give up on mpiexec_mpt
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 10
diff changeset
7 tr ' ' '\012' |parallel --will-cite -j 30 -N 1 bin/doPlinks.sh ${hn} '{#}' '{}'
7
25ca3505b4d7 more logging
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 6
diff changeset
8 echo $(date) $(hostname) $?