Modified runtest.sh script to allow use of default mpirun routine if none is provided by user

This commit is contained in:
Daniel Osei-Kuffuor 2017-01-05 12:19:08 -08:00
parent eb1157f03c
commit 4d23fc9931

View File

@ -429,7 +429,7 @@ do
;;
-mpi)
shift
RunPrefix=$1
MPIRunPrefix=$1
shift
;;
-nthreads)
@ -478,6 +478,13 @@ do
;;
esac
if [ -r $DirPart/$FilePart.jobs ] ; then
# Check for an mpirun routine
if [ x$MPIRunprefix != "x" ]
then
RunPrefix=$MPIRunPrefix
fi
StartCrunch $CurDir $DirPart $FilePart $CONVTOL
else
printf "%s: test command file %s/%s.jobs does not exist\n" \