#!/bin/bash #PBS -N test #PBS -q big #PBS -l select=1:ncpus=1:mpiprocs=1 #PBS -j oe #PBS -V #PBS -o log.out cd $PBS_O_WORKDIR # launch the job matlab -nodisplay -nosplash -nodesktop -r "run('/home/user/TestCode.m');exit;"