Scalar_PBS

#!/bin/sh

#PBS -N my_job

#PBS -q queue_name

# Send the e-mail messages from the server to a user address
# This line and the Technion address are mandatory!
#--------------------------------------------------------
#PBS -M user@technion.ac.il

#PBS -mbea
#
# running 1 process on the available CPU of the available node 
#------------------------------------------------------------------------
#PBS -l select=1:ncpus=1

PBS_O_WORKDIR=$HOME/my_dir
cd $PBS_O_WORKDIR

#Run command
#-----------------------
.program.exe [program arguments]