\chapter{Code Listing}\label{chap:code} \section{Python Programs}\label{sec:codePP} \subsection{run_parallel_advection.py}\label{subsec:codeRPA} \verbatiminput{code/RunParallelAdvection.py} \newpage \subsection{run_parallel_merimbula_metis.py}\label{subsec:codeRPMM} \verbatiminput{code/RunParallelMerimbulaMetis.py} \newpage \subsection{run_parallel_sw_merimbula_metis.py}\label{subsec:codeRPSMM} \verbatiminput{code/RunParallelSwMerimbulaMetis.py} \newpage \section{Sample Jobscripts}\label{sec:codeSJ} \subsection{4 Processor run_parallel_sw_merimbula_metis.py (APAC Linux Cluster)}\label{subsec:code4RPSMMAPAC} The APAC cluster charges computing time spent on jobs to project accounts. This creates extra directives at the start of the jobscript. Further, there is a bug in the environment module system used on this cluster. For jobs to run correctly, there must be no ``module load'' statements in the files .bashrc, .cshrc, .profile or .login. \verbatiminput{code/pbs-run-parallel-merimbula-metis-4-apac} \newpage \subsection{4 Processor run_parallel_sw_merimbula_metis.py (``Bogong'' Linux Cluster)}\label{subsec:code4RPSMMBogong} \verbatiminput{code/pbs-run-parallel-merimbula-metis-4-bogong}