Commit ade124f4 authored by Jussi Enkovaara's avatar Jussi Enkovaara
Browse files
parents 4043f6b9 78797876
...@@ -16,25 +16,25 @@ provided. ...@@ -16,25 +16,25 @@ provided.
## Exercises ## Exercises
- [Hello world](hello-world) Simplest possible MPI program (C, Fortran and - [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 - [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 - [Message chain](message-chain) Point-to-point communication in one
dimensional aperiodic chain. (C, Fortran and Python versions). dimensional aperiodic chain. (C, Fortran and Python versions).
Level: *intermediate* Level: **intermediate**
- [Collective communciation](collectives) Basic collective communication - [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 - [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](datatypes) Communication of non-uniform data using
user defined datatypes (C, Fortran and Python versions). user defined datatypes (C, Fortran and Python versions).
Level: *intermediate/advanced* Level: **intermediate/advanced**
## Examples ## Examples
- [Heat equation](heat-equation) A two dimensional heat equation solver which - [Heat equation](heat-equation) A two dimensional heat equation solver which
is parallelized with MPI. The code features non-blocking point-to-point is parallelized with MPI. The code features non-blocking point-to-point
communication, user defined datatypes, and parallel I/O with MPI I/O 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 ## How to contribute
......
...@@ -32,9 +32,9 @@ tasks (e.g. 2, 4, 8, 16, ...). Can you explain the differences to case a)? ...@@ -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 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. special cases of the first and last task in the chain.
d) Rewrite the program using non-blocking communication (MPI_Isend and d) Rewrite the program using non-blocking communication (`MPI_Isend` and
MPI_Irecv). `MPI_Irecv`).
c) Rewrite the program using persistent communication operations 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 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 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