#! /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
# ch_cmmd device (direct run version)
# The -np line is used to select a subset of the allocated nodes.
#if [ "$debugger" != "" ] ; then 
#      cat > $PWD_TRIAL/PId$$ <<.
#run -np $np $cmdLineArgs
#.
#      $Show $debugger $progname $commandfile $PWD_TRIAL/PId$$
#else
      $Show $progname $cmdLineArgs -np $np
#fi
exit 1
