#!/bin/bash # This is a simple example of a SGE batch script #$ -pe mpi-rr 4-20 #$ -l low # request Bourne shell as shell for job #$ -S /bin/bash # # print hostname hostname # print date and time date if [ "X$PE_HOSTFILE" != "X" ]; then # print pe_hostfile cat $PE_HOSTFILE # Run ompi_ring echo Starting OpenMPI job. mpirun -v /data/gridengine/local/examples/jobsbin/ompi_ring_`/usr/bin/lsb_release -cs` fi # print date and time again date