\documentclass[compress, xcolor=dvipsnames]{beamer}
%%\documentclass[compress]{beamer}

\usetheme{Warsaw}
\useoutertheme{pagenum}

\usepackage{beamerthemesplit}
\usepackage[french]{babel}
\usepackage[latin1]{inputenc}
\usepackage{multirow}
\usepackage{url}
\newcommand{\murge}{\textsc{MURGE}}           
\newcommand{\pastix}{\textsc{PaStiX}}         
\newcommand{\hips}{\textsc{Hips}}         
\newcommand{\INTS}{\textbf{INTS}}
\newcommand{\INTL}{\textbf{INTL}}
\newcommand{\COEF}{\textbf{COEF}}
\newcommand{\REAL}{\textbf{REAL}}

\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{stmaryrd}
\usepackage{tikz}
\usepackage{listings}
\usepackage{multicol}
\usetikzlibrary{shapes,arrows}
\usepackage{verbatim}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   PROTOTYPES   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%      Mots cles des prototypes     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Type, fonction, variable
\newcommand{\type}[1]{\textcolor{OliveGreen}{#1}}
\newcommand{\func}[1]{\textcolor{Blue}{#1}}
\newcommand{\var}[1]{\textcolor{YellowOrange}{#1}}
% Mot clé fortran
\newcommand{\forkey}[1]{\textcolor{Mulberry}{#1}}

% Preprocesseur (ie : #include)
\newcommand{\preproc}[1]{\textcolor{Rhodamine}{#1}}
% Included file (ie : ``pastix.h'')
\newcommand{\inc}[1]{\textcolor{Tan}{#1}}
% Etoile pour les pointeurs
\newcommand{\st}{\raisebox{-0.5ex}{*}}
\newcommand{\mycomment}[1]{\textit{\textcolor{DarkOrchid}{#1}}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%         Tableaux pour les prototypes               %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%% Declaration de variables en Fortran,
%%%%%%%%%%%%%%% type & :: var1, var2\\
\newenvironment{type-var}{\begin{tabular}{ll}}{\end{tabular}}
\newcommand{\fdecl}[2]{\type{\ \ #1}  &   :: #2}

%%%%%%%%%%%%%%% Functions fortran :
%%%%%%%%%%%%%%% call func ( & var1, var2\\
%%%%%%%%%%%%%%%             & var3)\\
\newenvironment{type-func-vars}{\begin{tabular}{l@{ }l}}{\end{tabular}}
\newcommand{\sub}[2]{\forkey{SUBROUTINE} \func{#1} & ( \texttt{#2}}
\newcommand{\bus}[1]{\begin{type-func-vars}\forkey{END SUBROUTINE} \func{#1} &\\\end{type-func-vars}}

%%%%%%%%%%%%%%% Fonction C avec une colonne de paramètre
%%%%%%%%%%%%%%% type func ( & type & modifier & var,\\
%%%%%%%%%%%%%%%             & type & modifier & var );\\
\newenvironment{type-func-type-mod-var}{\begin{tabular}{l@{ }l@{ }l@{
      }l}}{\end{tabular}}
%%%%%%%%%%%%%%% Fonction C avec deux colonne de paramètre
%%%%%%%%%%%%%%% type func ( & type & modifier & var, & type & modifier & var,\\
%%%%%%%%%%%%%%%             & type & modifier & var, & type & modifier & var );\\
\newenvironment{type-func-type-mod-var-type-mod-var}{\begin{tabular}{l@{ }l@{ }l@{ }l@{ }l@{ }l@{ }l@{ }l@{ }}}{\end{tabular}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%            Remplissage des tableaux pour les prototypes            %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%% Ligne du type :
%%%%%%%%%%%%%%% type func ( & type & modifier & var,
\newcommand{\tftmv}[5]{\type{#1} \func{#2} ( & \type{#3} & #4 &
  \var{#5}}
\newcommand{\tftv}[4]{\tftmv{#1}{#2}{#3}{}{#4}}
\newcommand{\murgefct}[1]{\tftv{INTS}{MURGE\_#1}{INTS}{ID}}
%%%%%%%%%%%%%%% Ligne du type :
%%%%%%%%%%%%%%%             & type & modifier & var,
\newcommand{\tmv}[3]{& \type{#1} & #2 & \var{#3}}
\newcommand{\tv}[2]{\tmv{#1}{}{#2}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%        Tableaux d'arguments     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{arguments}{\begin{tabular}{l}\hskip -2 mm Parameters~:\\ \begin{tabular}{l@{ : }p{0.7\textwidth}}}{\end{tabular}\end{tabular}}
\newenvironment{returns}{\begin{tabular}{l}\hskip -2 mm Returns~:\\* \begin{tabular}{l@{ : }l}}{\end{tabular}\end{tabular}}
% Ligne de description des arguments de la fonction (tableau à deux case)
\newcommand{\argdesc}[2]{\texttt{#1} & #2\\}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%     Description de fonctions     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\descript}[2]{\par #2 }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%                      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%   Debut du document  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%                      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{\murge{} is close to Merge}
\author{Mathieu Faverge \and Jérémie Gaidamour \and Pascal Hénon \and Xavier Lacoste
  \and Pierre Ramet} 
 
 \AtBeginSection[]
 {
   \begin{frame}<beamer>
     \frametitle{Table of content}
     \tableofcontents[currentsection,currentsubsection,hideothersubsections]
   \end{frame}
 }

\begin{document}

\frame{
  \titlepage
  \begin{center}
    \includegraphics[scale=0.3]{murge.png}
  \end{center}
}

\frame{\tableofcontents}

\section{Introduction}
\input{intro}
\section{Murge types}
\input{types}
\section{Using Murge}
\subsection{Initialization}
\input{init}
\subsection{Set parameters}
\input{setting}
\subsection{Set the graph of non-zeros}
\input{graph}
\subsection{Get the solver distribution}
\input{newdist}
\subsection{Set the coefficients}
\input{assembly}
\subsection{Set the right-hand-side member}
\input{rhs}
\subsection{Get the solution}
\input{solution}
\subsection{Cleaning}
\input{cleaning}

\end{document}
