Example Batch Scripts
Sample Job script
This script uses the default 16 cores per node. This job will run on 64 nodes, with 1024 cores.
#PBS -q debug
#PBS -l mppwidth=1024
#PBS -l walltime=00:10:00
#PBS -N my_job
#PBS -j oe
#PBS -V
cd $PBS_O_WORKDIR
aprun -n 1024 ./my_executable
Sample job script to run with Hyper-Threading (HT)
With HT, Edison compute nodes have 32 cores per node. This job will run on 64 nodes, with 2048 cores in total.
#PBS -q debug
#PBS -l mppwidth=2048
#PBS -l mppnppn=32
#PBS -l walltime=00:10:00
#PBS -N my_job
#PBS -j oe
#PBS -V
cd $PBS_O_WORKDIR
aprun -j 2 -n 2048 ./my_executable


