view bin/masterMaster.sh @ 29:a95a1b31f5e9

try to fix multi-line lossage
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 18 Mar 2020 21:54:47 +0000
parents 70c04a452599
children 4c23b1766692
line wrap: on
line source

#!/bin/bash
# This runs on login machine to launch the real job (named by $1) on two machines
echo $(date) Launching master workers for "$@"
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 '{}'
echo $(date) "$@" workers done