For example suppose you want to execute a code from the directory /users/nick/TESTING, assuming that this directory contains input files for the code xdlu specified without a path (i.e the code assumes to find the input files in the current directory) then a suitable PBS job script would look like:
#! /bin/sh cd /users/nick/TESTING ./benchmarkYou can use the same method for both SCore MPI and non-SCore jobs.