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
48073d89
Commit
48073d89
authored
3 years ago
by
Mathieu Peybernes
Browse files
Options
Downloads
Patches
Plain Diff
Update first exercise
parent
d3720385
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
+1
-0
1 addition, 0 deletions
src/mpi/mpi.tex
src/serial/serial.tex
+4
-2
4 additions, 2 deletions
src/serial/serial.tex
with
5 additions
and
2 deletions
src/mpi/mpi.tex
+
1
−
0
View file @
48073d89
...
...
@@ -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}
...
...
This diff is collapsed.
Click to expand it.
src/serial/serial.tex
+
4
−
2
View file @
48073d89
...
...
@@ -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.F
90
}
\item
M
odify
\cmd
{
saxpy.F
90
}
in order to suppress warnings
\item
Display warnings with
\cmd
{
-
Wall
}
option and m
odify
\cmd
{
saxpy.F
90
}
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
}
...
...
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