run.sh 332 B

1234567891011
  1. #!/bin/sh
  2. #OAR -l /core=50,walltime=1
  3. #OAR -t besteffort
  4. ulimit -s unlimited
  5. NSLOTS=$(cat $OAR_NODEFILE | wc -l)
  6. PREF=$(dirname `which mpirun` | awk -F'/[^/]*$' '{print $1}')
  7. mpirun --prefix $PREF -np $NSLOTS -machinefile $OAR_NODEFILE -mca orte_rsh_agent "oarsh" ./laplacien_mpi_1.out canyon.pgm canyon_mpi_1.pgm 100 10
  8. exit $?