#!/bin/tcsh -f # name of the job #PBS -N myjob # I am asking 4 cores in 1 node of # xt21,xt22,xt23,xt24,xt25 #PBS -l nodes=1:ppn=4 # The directive below directs that the standard output and # error streams are to be merged, intermixed, as standard # output. #PBS -j oe # Specify the queue #PBS -q parallel #set path of my executable # in this example gaussian g09 executable is already installed at xt nodes # mydir is my subdirectory where a user made file mysettings.com exists # In mysettings.com, the variable nproc has to be set to the number of running cores (4) # source $g09root/g09/bsd/g09.login cd $HOME/mydir /opt/g09/g09/g09 mysettings.com