#!/bin/bash
# This runs on 1 machine to launch the real job (named by $1) on two machines
echo $(date) Launching master workers for "$@"
parallel --will-cite --nonall -S r1i5n0 -S r1i5n1 --workdir /dev/shm/'{#}' --transferfile "${1}_"'{#}'.txt $HOME/bin/$1.sh '{#}'
echo $(date) "$@" workers done
