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

Update first exercise

parent d3720385
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@
\framesubtitle{Exercise compilationMPI}
\begin{itemize}
\item Go to the directory \cmd{compilationMPI}
\item Load MPI module: \cmd{module load mvapich2}
\item Compile and execute the code using srun and multiple MPI processes
\end{itemize}
\end{frame}
......
......@@ -63,7 +63,7 @@
\begin{itemize}
\item "Manipulation": \cmd{-o}, \cmd{-c}, etc.
\item "Optimization": \cmd{-On}, \cmd{-fastmath}, etc.
\item "Debug": \cmd{-g}, \cmd{-traceback} (gcc), etc.
\item "Debug": \cmd{-g}, \cmd{-V} \cmd{-traceback} (gcc), etc.
\item Option summary for GNU: \url{https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html\#Option-Summary}
\end{itemize}
\end{frame}
......@@ -72,10 +72,12 @@
\frametitle{Compilation}
\framesubtitle{Exercise simpleCompilation}
\begin{itemize}
\item Load gcc module with \cmd{module load gcc}
\item Go to the directory \cmd{simpleCompilation}
\item Compile the code \cmd{saxpy.F90}
\item Modify \cmd{saxpy.F90} in order to suppress warnings
\item Display warnings with \cmd{-Wall} option and modify \cmd{saxpy.F90} in order to suppress these warnings
\item Execute the code
\item Use \cmd{-D} option in the compilation to define the macro \cmd{MY_MACRO} and check the results during the execution
\item Try different compilation options for optimization, and compare the timing displayed from the corresponding runs
\end{itemize}
\end{frame}
......
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