#!/usr/local/bin/bash
#
# This script is for systems that use llrun instead of mpiexec
#
# Usage: bin/mpiexec.llrun [-np n] programname programoptions
#
two=$2
if [ $1 = "-np" ]; then
        shift
        shift
        llrun -p $two $*
else
        llrun -p 1 $*
fi

