Skip to content
Snippets Groups Projects
Commit a51632d1 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Last minute changes

parent ab08813a
No related branches found
No related tags found
No related merge requests found
...@@ -37,13 +37,12 @@ ...@@ -37,13 +37,12 @@
\url{https://go.epfl.ch/Compiling-code-and-using-MPI-Exercises} \url{https://go.epfl.ch/Compiling-code-and-using-MPI-Exercises}
\item For your convenience you can copy the slides and exercises directly from\\ \item For your convenience you can copy the slides and exercises directly from\\
\begin{bashcode} \begin{bashcode}
(cluster) $> cp -r /scratch/examples/compiling_codes . $> cp -r /work/scitas-share/compiling-code-and-using-mpi-exercises .
(local) $> scp <username>@<helvetios>.epfl.ch:/scratch/examples/compiling_codes/SCM_slides.pdf .
\end{bashcode} \end{bashcode}
\item Prepare your environment \item Prepare your environment
\begin{bashcode} \begin{bashcode}
(cluster) $> module purge $> module purge
(cluster) $> module load gcc $> module load gcc
\end{bashcode} \end{bashcode}
\end{itemize} \end{itemize}
\end{frame} \end{frame}
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
\item In a shared memory model, all data is visible to all threads \item In a shared memory model, all data is visible to all threads
\item All the threads can read and write to the same memory space, which \item All the threads can read and write to the same memory space, which
can be problematic if it happens at the same time! can be problematic if it happens at the same time!
\item Limited to one CPU \item Limited to one node
\item Multi-threading is often implemented using OpenMP (in HPC codes) \item Multi-threading is often implemented using OpenMP (in HPC codes)
\end{itemize} \end{itemize}
\pause \pause
...@@ -225,9 +225,9 @@ ...@@ -225,9 +225,9 @@
\item Syntax is compiler dependent \item Syntax is compiler dependent
\begin{itemize} \begin{itemize}
\item \cmd{gcc -fopenmp mycode.c} \item \cmd{gcc -fopenmp mycode.c}
\item \cmd{icc -qopenmp mycode.c}
\item \cmd{gfortran -fopenmp mycode.f95} \item \cmd{gfortran -fopenmp mycode.f95}
\item \cmd{ifort -qopenmp mycode.f95} \item \cmd{icx -fopenmp mycode.c}
\item \cmd{ifortx -fopenmp mycode.f95}
\end{itemize} \end{itemize}
\end{itemize} \end{itemize}
\end{frame} \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