Revised the mpi sample to use mpirun_rsh