#! /bin/sh
if [ "$MPIR_HOME" = "" ] ; then 
    MPIR_HOME=#MPIR_HOME#
fi
if [ "$MPIR_HOME" = "#""MPIR_HOME""#" ] ; then
    MPIR_HOME=`pwd`/..
fi
if [ "#MPIRUN_BIN#" = "#""MPIRUN_BIN""#" ] ; then 
    MPIRUN_HOME=$MPIR_HOME/bin
else
    MPIRUN_HOME=$MPIR_HOME/#MPIRUN_BIN#
fi
if [ "$argsset" = "" ] ; then
   . $MPIRUN_HOME/mpirun.args
   argsset=1
fi

# This script must actually be run ON the Delta (more accurately, 
# on a Delta service node), which this does by invoking rsh.
# If the rsh fails, check your permissions.
# A similiar script could be used on Intel i860 systems
# UNTESTED
$Show '$rshcmd delta1 mexec -t"'"$np"'" -f ' $progname $cmdLineArgs
