#!/bin/sh #PBS -q small #PBS -l select=1:ncpus=16:mpiprocs=16 #PBS -N rmpi #PBS -l walltime=1:00:00 #PBS -V eval `/usr/bin/modulecmd bash load /opt/local/modules/sp1/openmpi` cd $PBS_O_WORKDIR R --vanilla < rmpi-sample.r > rmpi-sample-16.txt