#!/bin/sh #PBS -N hipgpu #PBS -q hipgpu #PBS -l select=6:ncpus=1:accelerator=True:accelerator_model="Tesla_K40s" #PBS -l accelerator_type="Nvidia" #PBS -l walltime=24:00:00 #PBS -l place=scatter #PBS -S /bin/sh@sdb -V . /opt/modules/default/init/sh cd /path_of_executable aprun -j 1 -n 6 -N 1 ./hello >& output.txt |