#!/bin/sh
#This job should be redirected to extgpu queue #PBS -N jobname
#PBS -q extgpu
#PBS -l select=2:ncpus=1:accelerator=True:accelerator_model=”Tesla_K40s”
#PBS -l accelerator_type=”Nvidia”
#PBS -l walltime=24:00:00
#PBS -l place=scatter
cd <path of the executable>
aprun -j 1 -n 2 -N 1 ./a.out >& extgpu.txt |