Changeset 1165 for palm/trunk/TUTORIAL


Ignore:
Timestamp:
May 24, 2013 12:33:14 PM (8 years ago)
Author:
raasch
Message:

small changes in tutorial

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/TUTORIAL/SOURCE/runs_with_mrun.tex

    r973 r1165  
    136136% Folie 4
    137137\begin{frame}
    138    \tikzstyle{green} = [rectangle, draw, fill=green!20, text width=0.45\textwidth, font=\scriptsize]
     138   \tikzstyle{green} = [rectangle, draw, fill=green!20, font=\scriptsize]
    139139   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!20, text width=0.18\textwidth, font=\scriptsize]
    140140   \tikzstyle{yellowsmall} = [rectangle, draw, fill=yellow!20, text width=0.10\textwidth, font=\scriptsize]
     
    146146   \begin{enumerate}
    147147      \item<2-> Create a temporary working directory and change into this directory:\\
    148       \quad \texttt{mkdir <tempdir>/<username>.<randomnumber>}\\
    149       \quad \texttt{cd <tempdir>/<username>.<randomnumber>}\\
     148      \quad \texttt{mkdir <tmpdir>/<username>.<randomnumber>}\\
     149      \quad \texttt{cd <tmpdir>/<username>.<randomnumber>}\\
    150150      \ \\
    151       The path of \texttt{<tempdir>} is given in the configuration file
     151      The path of \texttt{<tmpdir>} is given in the configuration file
    152152      \texttt{.mrun.config} by the environment variable \texttt{tmp\underline{ }user\underline{ }catalog}, e.g.:\\
    153153           \quad \texttt{\%tmp\underline{ }user\underline{ }catalog  /tmp \hspace{30mm} <hi>  parallel}\\
     
    158158           \begin{center}
    159159              \begin{tikzpicture}[auto, node distance=0]
    160             \uncover<4->{\node [green] (green) {/tmp/$<$username$>$.$<$randomnumber$>$};}
     160            \uncover<4->{\node [green] (green) {/$<$tmpdir$>$/$<$username$>$.$<$randomnumber$>$};}
    161161         \end{tikzpicture}
    162162           \end{center}
     
    165165           \vspace{1mm}
    166166           \onslide<6-> \tiny \quad \texttt{cp <user\underline{ }input\underline{ }file1>
    167            /tmp/<username>.<randomnumber>/<temporary\underline{ }input\underline{ }file1>}\\
     167           /<tmpdir>/<username>.<randomnumber>/<temporary\underline{ }input\underline{ }file1>}\\
    168168      \quad \texttt{cp <user\underline{ }input\underline{ }file2>
    169       /tmp/<username>.<randomnumber>/<temporary\underline{ }input\underline{ }file2>}\\
     169      /<tmpdir>/<username>.<randomnumber>/<temporary\underline{ }input\underline{ }file2>}\\
    170170      \vspace{2mm}
    171171      \scriptsize
     
    173173              \begin{tikzpicture}[auto, node distance=0]
    174174             
    175             \uncover<8->{\node [green] (green) {/tmp/$<$username$>$.$<$randomnumber$>$};}
     175            \uncover<8->{\node [green] (green) {/$<$tmpdir$>$/$<$username$>$.$<$randomnumber$>$};}
    176176       
    177177            \uncover<7->{\node [yellowsmall, above=0.1cm of green] (yellow2) {JOBS/};}
     
    200200% Folie 5
    201201\begin{frame}
    202    \tikzstyle{green} = [rectangle, draw, fill=green!20, text width=0.45\textwidth, font=\scriptsize, minimum height=0.6cm]
     202   \tikzstyle{green} = [rectangle, draw, fill=green!20, font=\scriptsize, minimum height=0.6cm]
    203203   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!20, text width=0.18\textwidth, font=\scriptsize, minimum height=0.6cm]
    204204   \tikzstyle{dummy} = [rectangle, text width=0.01\textwidth, font=\scriptsize, minimum height=0.6cm]
     
    216216                 \uncover<2->{\node [green, right=0.2cm of yellow] (green1) {MAKE\underline{ }DEPOSITORY\underline{ }\textit{parallel}/};}
    217217                 \uncover<1->{\node [dummy, right=0.2cm of green1] (dummy2) {};}
    218             \uncover<3->{\node [green, below=0.5cm of dummy1] (green2) {/tmp/$<$username$>$.$<$randomnumber$>$};}
     218            \uncover<3->{\node [green, below=0.5cm of dummy1] (green2) {/$<$tmpdir$>$/$<$username$>$.$<$randomnumber$>$};}
    219219             \uncover<1->{\node [dummy, below=0.5cm of dummy2] (dummy3) {};}
    220220             \uncover<4->{\node [dummy, right=0.0cm of dummy3] (text) {Makefile\\
     
    239239% Folie 6
    240240\begin{frame}
    241    \tikzstyle{green} = [rectangle, draw, fill=green!20, text width=0.45\textwidth, font=\scriptsize, minimum height=0.6cm]
     241   \tikzstyle{green} = [rectangle, draw, fill=green!20, font=\scriptsize, minimum height=0.6cm]
    242242   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!20, text width=0.18\textwidth, font=\scriptsize, minimum height=0.6cm]
    243243   \tikzstyle{dummy} = [rectangle, text width=0.01\textwidth, font=\scriptsize, minimum height=0.6cm]
     
    248248      \setcounter{enumi}{5}
    249249           \item<1-> Copy the output files from the working directory to a (permanent) directory of the user:\\
    250        \tiny \quad \texttt{cp /tmp/<username>.<randomnumber>/<temporary\underline{ }output\underline{ }file1> <user\underline{ }output\underline{ }file1>}\\
    251       \quad \texttt{cp /tmp/<username>.<randomnumber>/<temporary\underline{ }output\underline{ }file2> <user\underline{ }output\underline{ }file2>}\\
     250       \tiny \quad \texttt{cp /<tmpdir>/<username>.<randomnumber>/<temporary\underline{ }output\underline{ }file1> <user\underline{ }output\underline{ }file1>}\\
     251      \quad \texttt{cp /<tmpdir>/<username>.<randomnumber>/<temporary\underline{ }output\underline{ }file2> <user\underline{ }output\underline{ }file2>}\\
    252252      \footnotesize
    253253      \begin{center}
     
    264264            \uncover<2->{\node [yellow, left=0.2cm of yellow4] (yellow5) {current\underline{ }version/};}
    265265                                             
    266                  \uncover<2-3>{\node [green, left=5.0cm of dummy1] (green) {/tmp/$<$username$>$.$<$randomnumber$>$};}
     266                 \uncover<2-3>{\node [green, left=5.0cm of dummy1] (green) {/$<$tmpdir$>$/$<$username$>$.$<$randomnumber$>$};}
    267267                 
    268268            \draw<2-3> [-] (green.east) -- (dummy1.center);
     
    281281           
    282282           \item<3-> Delete the temporary working directory\\
    283       \quad \texttt{rm -rf /tmp/<username>.<randomnumber>}\\
     283      \quad \texttt{rm -rf /<tmpdir>/<username>.<randomnumber>}\\
    284284      \vspace{2mm}
    285285      \onslide<5->\textcolor{red}{Question: How does \texttt{mrun} know which files have to be copied and where from or where to they have to be copied?}
     
    564564         \textbf{as soon as message}
    565565         
    566          \texttt{*** execution starts in directory\\ \quad \dq <tempdir>\dq\, }\\
     566         \texttt{*** execution starts in directory\\ \quad \dq <tmpdir>\dq\, }\\
    567567         \ \\
    568568         \textbf{you can change to this directory (in a new terminal) and watch the progess of timesteps}
    569569
    570          \texttt{cd <tempdir>}\\
     570         \texttt{cd <tmpdir>}\\
    571571         \texttt{tail -f RUN\underline{ }CONTROL}\\
    572572         \ \\
Note: See TracChangeset for help on using the changeset viewer.