Mercurial > hg > cc > cirrus_home
comparison bin/masterMaster.sh @ 26:a9a9f6f1832e
finally hacked something that works
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 18 Mar 2020 13:42:47 +0000 |
parents | a598469733d3 |
children | 70c04a452599 |
comparison
equal
deleted
inserted
replaced
25:a82c325e8b32 | 26:a9a9f6f1832e |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 # This runs on 1 machine to launch the real job (named by $1) on two machines | 2 # This runs on login machine to launch the real job (named by $1) on two machines |
3 echo $(date) Launching master workers for "$@" | 3 echo $(date) Launching master workers for "$@" |
4 parallel --will-cite --nonall -S r1i5n0 -S r1i5n1 --workdir /dev/shm/'{#}' --transferfile "${1}_"'{#}'.txt $HOME/bin/$1.sh '{#}' | 4 seq 1 -1 0 | parallel --will-cite --joblog master_$1.log -S r1i5n1 -S r1i5n0 -N 1 --workdir /dev/shm --transferfile test_'{}'.txt $HOME/bin/$1.sh '{}' |
5 echo $(date) "$@" workers done | 5 echo $(date) "$@" workers done |