view bin/masterMaster.sh @ 21:a598469733d3

more job scripts
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 18 Mar 2020 10:57:21 +0000
parents
children a9a9f6f1832e
line wrap: on
line source

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