-\documentclass{article}
-
-\newcommand{\shellcmd}[1]{\medskip\texttt{\footnotesize #1}\medskip}
-
-\begin{document}
-
-
-\title{Building UNRESPACK with CMake}
-\author{Dawid Jagiela}
-
-\maketitle
-
-
-\section{Requirements}
-
-Starting with UNRESPACK 3.2, CMake (cross-platform, open-source build system ) can be used to build UNRESPACK.
-Building requires te folowing:
-\begin{itemize}
- \item CMake 2.8 or later
- \item Fortran compiler. Currently \emph{Intel Fortran Compiler} and \emph{GNU Fortran Compiler} are supported. The former one is recomended.
- \item ANSI C compiler
-\end{itemize}
-
-\section{Building}
-
-\raggedright
-
-Prepare the build directory
-
-\shellcmd{mkdir unrespack \\tar -xvzf unrespack-v.3.2.tar.gz -C unrespack \\cd unrespack \\mkdir build \&\& cd build}
-
-Configure CMake
-
-\begin{itemize}
- \item Using command line, interactive mode(recomended) \shellcmd{ccmake ..}
- \item Using command line, non-interactive mode. This requires to pass all the variables to CMake
- \shellcmd{ cmake -DCMAKE\_Fortran\_COMPILER=ifort -DUNRES\_MD\_FF=GAB .. }
-\end{itemize}
-
-To compile the whole package run:
-
-\shellcmd{make}
-
-
-
-
-\end{document}
-