#!/bin/bash

# ./mrn 4   starts star with mpirun -np 4

if test -z "$1"
then
  echo ""
  echo "Please supply the number of processors as a command line argument."
  echo "for example, ./mrn 4   does mpirun -np 4"
  echo ""
  exit 1
fi

rm -f restart_photo
date
mpirun -np $1 ./star
#mpirun -machinefile $PBS_NODEFILE -np $1 ./star
date
