KNL queue Sample Job Script – Cray


Sample Script :
#!/bin/sh
#PBS -N co_try
#PBS -l select=1:ncpus=64:vntype=cray_compute_knl:naccelerators=1
#PBS -q knl
#PBS -l walltime=24:00:00
#PBS -l place=scatter
#PBS -S /bin/sh@sdb -V
. /opt/modules/default/init/sh
export MKL_MIC_ENABLE=1
export OFFLOAD_REPORT=2
export MIC_ENV_PREFIX=MIC
export MIC_OMP_NUM_THREADS=1
export OMP_NUM_THREADS=1

export CRAYPE_LINK_TYPE=dynamic

cd $PBS_O_WORKDIR
aprun -j4 -n 256 -cc none ./executable > output.log