diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/masterMaster.sh	Wed Mar 18 10:57:21 2020 +0000
@@ -0,0 +1,5 @@
+#!/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