Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Compiling code and using MPI - lecture
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCITAS
Courses
Compiling code and using MPI
Compiling code and using MPI - lecture
Commits
ba8fd6a9
Commit
ba8fd6a9
authored
3 years ago
by
Mathieu Peybernes
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
ssh://c4science.ch/source/SCM-lecture
parents
81d54b42
e46591fb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/mpi/mpi.tex
+13
-5
13 additions, 5 deletions
src/mpi/mpi.tex
src/serial/serial.tex
+2
-3
2 additions, 3 deletions
src/serial/serial.tex
with
15 additions
and
8 deletions
src/mpi/mpi.tex
+
13
−
5
View file @
ba8fd6a9
...
...
@@ -38,15 +38,23 @@
\begin{frame}
\frametitle
{
MPI
}
\framesubtitle
{
MPI code compiler
}
mpicc
is really a wrapper for the standard (GCC and Intel) compilers
\cmd
{
mpicc/mpif90/...
}
is really a wrapper for the standard (GCC and Intel) compilers
\begin{itemize}
\item
mpicc - generic MPI C compiler
\item
mpiicc - Intel MPI C compiler
\item
mpicxx - generic MPI C++ compiler
\item
mpiifort - Intel MPI Fortran compiler
\item
\cmd
{
mpicc
}
- generic MPI C compiler
\item
\cmd
{
mpiicc
}
- Intel MPI C compiler
\item
\cmd
{
mpicxx
}
- generic MPI C++ compiler
\item
\cmd
{
mpiifort
}
- Intel MPI Fortran compiler
\end{itemize}
\end{frame}
\begin{frame}
\frametitle
{
MPI
}
\framesubtitle
{
Exercise compilationMPI
}
\begin{itemize}
\item
Go to the directory
\cmd
{
compilationMPI
}
\item
Compile and execute the code using srun and multiple MPI processes
\end{itemize}
\end{frame}
%%% Local Variables:
%%% mode: latex
...
...
This diff is collapsed.
Click to expand it.
src/serial/serial.tex
+
2
−
3
View file @
ba8fd6a9
...
...
@@ -152,7 +152,7 @@
\begin
{
frame
}
[
t,fragile
]
\frametitle
{
Compilation
}
\framesubtitle
{
bilan
and header files
}
\framesubtitle
{
Summary
and header files
}
To sum up, to compile we need typically the following informations:
\begin
{
itemize
}
\item
The name of the source code file
(
s
)
...
...
@@ -216,9 +216,8 @@ prepend_path("INCLUDE","/ssoft/spack/arvine/v1/opt/spack/linux-rhel7-skylake_avx
\frametitle
{
Compilation
}
\framesubtitle
{
Libraries to make your life better
}
\begin
{
itemize
}
\item
Openblas
\item
MKL
\item
OpenBLAS
\item
MKL
\item
FFTW
\item
Eigen
\item
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment