Skip to content
Snippets Groups Projects
Commit c119d891 authored by Mathieu Peybernes's avatar Mathieu Peybernes
Browse files

Update slides Makefile and MPI

parent 5de9f066
No related branches found
No related tags found
No related merge requests found
\renewcommand{\FIGREP}{src/mpi/figures}
\section{Compilation with MPI}
\label{sec:mpi}
\intersec{deneb}
\section{Use of MPI}
\label{sec:mpi}
......
\renewcommand{\FIGREP}{src/serial/figures}
\section{Compilation}
\label{sec:compilation}
\intersec{deneb}
\section{Basics of compilation}
\label{sec:basics}
......@@ -64,7 +68,7 @@
\end{itemize}
\end{frame}
\begin{frame}
\begin{frame}[exercise]
\frametitle{Compilation}
\framesubtitle{Exercise simpleCompilation}
\begin{itemize}
......@@ -76,7 +80,7 @@
\end{itemize}
\end{frame}
\begin{frame}
\begin{frame}[exercise]
\frametitle{Compilation}
\framesubtitle{Exercise compilationWith2Files}
\begin{itemize}
......@@ -121,7 +125,7 @@
}
\begin{frame}
\begin{frame}[exercise]
\frametitle{Compilation}
\framesubtitle{Exercise compilationWithLibrary}
\begin{itemize}
......@@ -135,7 +139,7 @@
\begin{frame}[t,fragile]
\frametitle{Compilation}
\framesubtitle{Use of library path through modules}
When using shared librairies at runtime we need to set \cmd{LD LIBRARY PATH} so the system knows where to find the library
When using shared librairies at runtime we need to set \cmd{LD_LIBRARY_PATH} so the system knows where to find the library
\begin{itemize}
\item This variable tells the program where to look for dynamic libraries; if this location is changed, it is enough to modify the variable, without changing the program
\item To tell the system to look in the directory \cmd{/path/to/the/library}, the variable \cmd{LD_LIBRARY_PATH} must be initialized as follows:
......@@ -266,6 +270,14 @@ prepend_path("INCLUDE","/ssoft/spack/arvine/v1/opt/spack/linux-rhel7-skylake_avx
% lastline=40}]{examples/compilationWithMakefile}
\end{frame}
\begin{frame}[t,fragile]
\frametitle{Compilation}
\framesubtitle{Makefile example}
\bashfile[title={examples/compilationWithMakefile/MakefileBis}]{examples/compilationWithMakefile/MakefileBis}
% minted options app={firstline=1,
% lastline=40}]{examples/compilationWithMakefile}
\end{frame}
\begin{frame}[t,fragile]
\frametitle{Compilation}
\framesubtitle{CMake example}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment