annotate bin/masterMaster.sh @ 28:70c04a452599

fix missing use of $t
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 18 Mar 2020 21:52:06 +0000
parents a9a9f6f1832e
children 4c23b1766692
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
a598469733d3 more job scripts
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
1 #!/bin/bash
26
a9a9f6f1832e finally hacked something that works
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 21
diff changeset
2 # This runs on login machine to launch the real job (named by $1) on two machines
21
a598469733d3 more job scripts
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 echo $(date) Launching master workers for "$@"
28
70c04a452599 fix missing use of $t
Henry S. Thompson <ht@inf.ed.ac.uk>
parents: 26
diff changeset
4 seq 1 -1 0 | parallel --will-cite --joblog master_$1.log -S r1i5n1 -S r1i5n0 -N 1 --workdir /dev/shm --transferfile $1_'{}'.txt $HOME/bin/$1.sh '{}'
21
a598469733d3 more job scripts
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
5 echo $(date) "$@" workers done