Index: palm/trunk/TUTORIAL/SOURCE/restarts_with_mrun.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/restarts_with_mrun.tex	(revision 973)
+++ palm/trunk/TUTORIAL/SOURCE/restarts_with_mrun.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -27,5 +26,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +47,5 @@
 
 \title[Carrying out restart runs with mrun]{Carrying out restart runs with \texttt{mrun}}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -67,5 +67,5 @@
    \begin{itemize}
       \item<1-> A \textbf{ârestart runâ} is a model run, which starts with an initial condition given by the simulated flow at the end of a previous (restart or initial) run.
-      \item<2-> In order to carry out a restart run, a file has to be written at the end of the previous run, which contains the values of all flow variables at the necessary time steps (Runge-Kutta: $t$, leap-frog: $t$, $t-\Delta t$). This file has to be read at the beginning of the restart run.
+      \item<2-> In order to carry out a restart run, a file has to be written at the end of the previous run, which contains the values of all flow variables at the last time step. This file has to be read at the beginning of the restart run.
       \item<3-> Initial and respective restart runs form a so called \textbf{job chain}.
    \end{itemize}  
@@ -121,5 +121,5 @@
             \quad \texttt{mrun -d test ... -r \dq d3f restart\dq}\\
             \vspace{1mm}
-            on the \textbf{local host}. Options of this command are nearly the same as of the initial run, but every sharp symbol (\grqq\#\grqq) in the activating strings is replaced by an \grqq f\grqq.
+            on the \textbf{local host}. Options of this command are nearly the same as of the initial run, but every sharp character (\grqq\#\grqq) in the activating strings is replaced by an \grqq f\grqq.
          \end{itemize}
          \scriptsize
@@ -190,9 +190,9 @@
       \vspace{-1mm}
       \begin{itemize}
-         \item<1-> Typically, the binary restart files are very large, so that they cannot be stored in the user's home-directory because of limited file quotas. Also, hard disks where \texttt{/home} is stored are typically very slow, so that the copy process needs very long time.
+         \item<1-> Typically, the binary restart files are very large, so that they cannot be stored in the user's home-directory because of limited disk quotas. Also, hard disks where \texttt{/home} is stored are typically very slow, so that the copy process needs very long time.
          \vspace{1mm}
          \item<2-> Using the file attribute \texttt{fl} (abbreviation for german \grqq Fortsetzungslauf\grqq) in the output file connection statement causes \texttt{mrun} to copy the local file to a special directory, which can be defined in the configuration file by the environment variable \texttt{tmp\underline{ }data\underline{ }catalog}. The permanent file described in the connection statement is also created, but it is \textbf{empty}.
          \vspace{1mm}
-         \item<3-> At the end of the job, the second last cycle of the respective file with attribute \texttt{fl} is automatically deleted by \texttt{mrun} from the \texttt{tmp\underline{ }data\underline{ }catalog} in order to spare disc space. This can be prevented by setting the \texttt{mrun}-option \grqq\texttt{-k}\grqq (keep data from previous run).
+         \item<3-> At the end of the job, the second last cycle of the respective file with attribute \texttt{fl} is automatically deleted by \texttt{mrun} from the \texttt{tmp\underline{ }data\underline{ }catalog} in order to save disk space. This can be switched off with \texttt{mrun}-option \grqq\texttt{-k}\grqq (keep data from previous run).
       \end{itemize}
    \end{columns}
@@ -200,13 +200,13 @@
       \onslide<4-> \textbf{Example:}\\
       \tiny \quad \texttt{\%base\underline{ }data\hspace{4.5em}\~{}/palm/current\underline{ }version/JOBS}\\
-      \tiny \quad \texttt{\%tmp\underline{ }data\underline{ }catalog\hspace{1.0em}/gfs2/work/niksiraa/palm\underline{ }restart\underline{ }data}\\
+      \tiny \quad \texttt{\%tmp\underline{ }data\underline{ }catalog\hspace{1.0em}/gfs1/work/niksiraa/palm\underline{ }restart\underline{ }data}\\
       \vspace{1mm}
       \tiny \quad \texttt{BINOUT\hspace{1.0em}out:loc:flpe\hspace{1.0em}restart\hspace{1.0em}\$base\underline{ }data/\$fname/RESTART\hspace{1.0em}\underline{ }d3d}\\
       \ \\
       \onslide<5-> \scriptsize \textbf{Files (directories) created when using \texttt{-d example\underline{ }cbl}:}  \\
-      \tiny \quad \texttt{/gfs2/work/niksiraa/palm\underline{ }restart\underline{ }data/example\underline{ }cbl\underline{ }d3d}\\
+      \tiny \quad \texttt{/gfs1/work/niksiraa/palm\underline{ }restart\underline{ }data/example\underline{ }cbl\underline{ }d3d}\\
       \tiny \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/example/RESTART/example\underline{ }cbl\underline{ }d3d \# empty file (directory)}\\
    \vspace{2mm}
-   \onslide<6-> \scriptsize \textcolor{red}{Concerning input files, \texttt{mrun} always determines the current cycle number to be \underline{used from the contents of the directory defined by the file connection}\\ \underline{statement!}}
+   \onslide<6-> \scriptsize \textcolor{red}{Concerning input files, \texttt{mrun} always determines the current cycle number to be \underline{used from the contents of the directory given by the file connection}\\ \underline{statement!}}
 
 \end{frame}
@@ -214,15 +214,63 @@
 
 % Folie 8
-\begin{frame}
+\begin{frame}[fragile]
    \frametitle{Checking the Restart Job Execution}
-   \scriptsize
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=1.2\textwidth, font=\Tiny,scale=0.8]
+   \scriptsize
+   \vspace{-40mm}
    \begin{itemize}
       \item essentially by looking at the messages in the job protocol file:
    \end{itemize} 
-   
    \centering
-   \includegraphics[width=0.93\textwidth]{restarts_with_mrun_figures/checking.png}
    \begin{tikzpicture}[remember picture, overlay]
-      \node[rectangle, draw,text width=0.29\textwidth, fill=white] at (-18mm,62mm) {\noindent \scriptsize In this example, restart time has been set 
+   \node [yellow] (terminal)  at (0mm,-30mm) {\begin{lstlisting}  
+  *** execution starts in directory
+      "/gfs1/work/nikleboe/nikleboe.21239"
+  ----------------------------------------------------------------------------
+.
+.
+    run will be terminated due to user settings of
+    restart_time / dt_restart
+    new restart time is:  3600.  s
+.
+.
+  ----------------------------------------------------------------------------
+  *** execution finished 
+.
+.
+ ----------------------------------------------------------------------------
+  *** all OUTPUT-files saved 
+
+
+  *** initiating restart-run on "130.75.105.111" using command:
+      mrun -c.mrun.config -dexample_cbl -hlccrayh -Hlcmuk -m1500 -t3600 -qmpp1testq -R130.75.105.111 -Uboeske ...
+
+  ----------------------------------------------------------------------------
+*** ssh will be used to initiate restart-runs!
+.
+.
+*** MRUN  2.1 Rev: 1358 $ 
+    will be executed.     Please wait ...
+#------------------------------------------------------------------------# 
+| MRUN  2.1 Rev: 1358 $                    Thu Jun 31 14:09:30 CEST 2014 | 
+|                                                                        | 
+| called on:               vaudaire                                      | 
+.
+.
+| Files to be compiled:                                                  | 
+| palm.f90 user_example.f90                                              | 
+#------------------------------------------------------------------------#
+.
+.
+  ----------------------------------------------------------------------------
+  *** restart-run initiated 
+
+
+ --> all actions finished
+
+     Bye, bye nikleboe !!
+\end{lstlisting}
+         };
+      \node[rectangle, draw,text width=0.29\textwidth, fill=white] at (35mm,-5mm) {\noindent \scriptsize In this example, restart time has been set 
       
       manually by the user.};
@@ -239,8 +287,8 @@
       \column{1.07\textwidth}
       \begin{itemize}
-         \item<1-> By default, PALM checks after every timestep, if enough time remains from the job cpu limit to carry out the next timestep:\\
-         \vspace{1mm}
-         (\quad \grqq\texttt{total job time}\grqq\, - \grqq\texttt{time already consumed}\grqq\,) \texttt{<=} \texttt{termination\underline{ }time\underline{ }needed}\\
-         (as given by \texttt{mrun}-option \texttt{-t} ...) \hspace{5mm}  (as given by parameter in \texttt{\&d3par}-NAMELIST)\\
+         \item<1-> By default, PALM checks after every timestep, if enough time remains from the job's cpu limit to carry out the next timestep:\\
+         \vspace{1mm}
+         (\quad \textcolor{red}{\grqq\texttt{total job time}\grqq\,} - \grqq\texttt{time already consumed}\grqq\,) \texttt{<=} \textcolor{blue}{\texttt{termination\underline{ }time\underline{ }needed}}\\
+         (\textcolor{red}{as given by \texttt{mrun}-option \texttt{-t} ...}) \hspace{5mm}  (\textcolor{blue}{as given by parameter in \texttt{\&d3par}-NAMELIST})\\
          \vspace{3mm}
          \item<2-> \texttt{termination\underline{ }time\underline{ }needed} has to include the cpu time needed before running PALM (e.g. for compilation, copying of input data, etc.; default value: 300 s)!\\
@@ -249,5 +297,5 @@
          \vspace{1mm}
          \quad \quad \grqq\texttt{total job time}\grqq\, \texttt{<=} \texttt{termination\underline{ }time\underline{ }needed},\\
-         \quad forces a restart after the first timestep!
+         \quad forces a restart after every timestep!
          \vspace{3mm}
          \item<4-> \texttt{\&d3par}-parameters \texttt{restart\underline{ }time} and \texttt{dt\underline{ }restart} can be used to set restart time(s) manually.\\
