Mercurial > hg > cc > cirrus_home
view bin/masterMaster.sh @ 65:e71aeb3355ff
fix from Sebastian
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Fri, 24 Apr 2020 20:01:25 +0100 |
parents | e34cda3e7483 |
children | 6304d5c46229 |
line wrap: on
line source
#!/bin/bash # This runs on login machine to launch the real job (named by $1) on two machines # Any further args are passed to parallel echo $(date) Launching master workers for "$@" task=$1 shift seq 1 -1 0 | parallel --will-cite --joblog master_$task.log -S r1i5n1 -S r1i5n0 -N 1 --workdir /dev/shm --transferfile ${task}_'{}'.txt $* $HOME/bin/$task.sh '{}' echo $(date) $task "$@" workers done