The lsgrun command allows you to run the same task on many hosts, one after the other, or in parallel.
lsgrun -m "hostA hostD hostB" cat /tmp/out >> gout