\documentclass{article}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}

\usepackage{a4wide}
\begin{document}

\def\resol#1#2#3{#1$\times$#2-L#3}
\def\infol#1{{\bf #1}}
\def\afaire#1{{\bf Afaire : #1}}

\title{Hands on tutorial session 1: First steps with the model (update on the last 
section)
\date{\today}}
\author{The LMDZ team}

\maketitle

\section{Preparing things for tomorrow's course (updated)}
Tomorrow you will need to run the model (at \resol{48}{36}{39} resolution)
and investigate the outputs. To prepare things for that you must,
in a dedicated directory, run the model for 1 day instead of~5.
\begin{itemize}
\item go to \verb+LMDZtesting/modipsl/modeles/LMDZ5+ and use the file called:

\begin{verbatim}
bench_lmdz_48x36x39.tar.gz
\end{verbatim}

to create a new experiment:

\begin{verbatim}
mv BENCH48x36x39 BENCH48x36x39_old
tar -xf bench_lmdz_48x36x39.tar.gz 
cd BENCH48x36x39
\end{verbatim}

\item make sure that \verb+nday=1+ in \verb+run.def+
\item to avoid recompiling the code, just create a link to the executable you have 
already compiled before:
\begin{verbatim}
ln -s ../BENCH48x36x39_old/gcm.e .
\end{verbatim}

\item open the config.def files and after the section where the outputs are defined:

\begin{verbatim}
phys_out_filekeys=       y       y       y        y       n
phys_out_filenames=      histmth histday histhf   histins histLES
phys_out_filetimesteps=  5day    1day    1TS      6hr     6hr
phys_out_filelevels=     10      5       1        4       4
phys_out_filetypes=      ave(X)  ave(X)  inst(X) inst(X) inst(X)
\end{verbatim}

add these lines:

\begin{verbatim}
flag_vitu= 0 0 1 0 0
flag_vitv= 0 0 1 0 0
flag_du_gwd_hines= 0 0 1 0 0
flag_dv_gwd_hines= 0 0 1 0 0
flag_duoro= 0 0 1 0 0
flag_dvoro= 0 0 1 0 0
flag_dulif= 0 0 1 0 0
flag_dvlif= 0 0 1 0 0
flag_dthin= 0 0 1 0 0
flag_dtoro= 0 0 1 0 0
flag_dtlif= 0 0 1 0 0

ok_hines=y
\end{verbatim}

\item Run the model using \verb+./gcm.e > listing+.

\end{itemize}

\end{document}
