256-core G09 job script-tyrone

#!/bin/csh
#PBS -l nodes=4:ppn=64:large
#PBS -l walltime=24:00:00
#PBS -V
cd /your_excutable_path
setenv g09root /home/pkg/lic/g09/amd64
source /home/pkg/lic/g09/amd64/g09/bsd/g09.login
setenv GAUSS_LFLAGS '-opt "Tsnet.Node.lindarsharg: ssh"'
set LINDA = `cat $PBS_NODEFILE | uniq | tr '\n' "," | sed 's|,$|:4|' | sed 's|,|:4,|g' `
echo "-W- " $LINDA > ./Default.Route
setenv GAUSS_SCRDIR /localscratch/your_loginid
g09< simple.com >simple.out

#where simple.com is the input file to Gaussian 09 and simple.out is the output file.
#Please note if you are using NProcShared variable in the input file it should be set to 16.