#!/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
