#!/bin/sh
#PBS -N myjobname
#PBS -l select=1:ncpus=24 
#//select 10 compute nodes

#PBS -l walltime=00:00:30   
#//maximum walltime for a job to run

#PBS -l place=scatter
#PBS -l accelerator_type="None" 
#//add the above line only for idqueue,small,small72,medium queue

#PBS -S /bin/sh@sdb -V	
#PBS -j oe

. /opt/modules/default/init/sh
cd $PBS_O_WORKDIR

#Launch the parallel job
aprun -j 1 -n 2 -N 2 ./a.out
#//Using 240 MPI processes and 24 MPI processes per node
