#!/bin/ksh
HERE="`pwd`"
[[ "$1" == "all" ]] && set -- 32 64 P5 P7
while [[ -n $1 ]]
do
system=localhost
[[ "$1" == P5 ]] && system=zeta
[[ "$1" == P7 ]] && system=algol
[[ "$1" == 32 ]] && system=erg
[[ "$1" == 64 ]] && system=pollux
echo "cd ${HERE} ; ./complib" | ssh $system bash --login
shift;
done
