Commit ade124f4 authored by Jussi Enkovaara's avatar Jussi Enkovaara
Browse files
parents 4043f6b9 78797876
......@@ -16,25 +16,25 @@ provided.
## Exercises
- [Hello world](hello-world) Simplest possible MPI program (C, Fortran and
Python versions). Level: *basic*
Python versions). Level: **basic**
- [Message exchange](message-exchange) Simple point-to-point communication
(C, Fortran and Python versions). Level: *basic*
(C, Fortran and Python versions). Level: **basic**
- [Message chain](message-chain) Point-to-point communication in one
dimensional aperiodic chain. (C, Fortran and Python versions).
Level: *intermediate*
Level: **intermediate**
- [Collective communciation](collectives) Basic collective communication
patterns (C, Fortran and Python versions). Level: *basic/intermediate*
patterns (C, Fortran and Python versions). Level: **basic/intermediate**
- [Parallel I/O](parallel-io) Simple parallel I/O using Posix calls and
MPI I/O (C and Fortran versions). Level: *basic/intermediate*
MPI I/O (C and Fortran versions). Level: **basic/intermediate**
- [User defined datatypes](datatypes) Communication of non-uniform data using
user defined datatypes (C, Fortran and Python versions).
Level: *intermediate/advanced*
Level: **intermediate/advanced**
## Examples
- [Heat equation](heat-equation) A two dimensional heat equation solver which
is parallelized with MPI. The code features non-blocking point-to-point
communication, user defined datatypes, and parallel I/O with MPI I/O
(C, Fortran and Python versions). Level: *advanced*
(C, Fortran and Python versions). Level: **advanced**
## How to contribute
......
......@@ -32,9 +32,9 @@ tasks (e.g. 2, 4, 8, 16, ...). Can you explain the differences to case a)?
c) Try to simplify the code by employing the `MPI_PROC_NULL` in treating the
special cases of the first and last task in the chain.
d) Rewrite the program using non-blocking communication (MPI_Isend and
MPI_Irecv).
d) Rewrite the program using non-blocking communication (`MPI_Isend` and
`MPI_Irecv`).
c) Rewrite the program using persistent communication operations
(MPI_Send_init, MPI_Recv_init, etc.).
(`MPI_Send_init`, `MPI_Recv_init`, etc.).
## Parallel I/O with Posix
## Parallel I/O
a) Write data from all MPI tasks to a single file using the spokesman
strategy. Gather data to a single MPI task and write it to a file. The
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment