Distributed parallelism¶
Learning outcomes
- .
For teachers
Teaching goals are:
- .
Prior:
- .
Feedback:
- .
Why distributed parallelism is important¶
Type of parallelism | Number of cores | Number of nodes | Memory | Library |
---|---|---|---|---|
Single-threaded | 1 | 1 | As given by operating system | None |
Threaded/shared memory | Multiple | 1 | Shared by all cores | OpenMP |
Distributed | Multiple | Multiple | Distributed | OpenMPI |
Notes¶
- Distributed programming. Uses a Message Passing Interface. For a job that use many different nodes, for example, a weather prediction.
Output¶
Remember¶
- Use
--ntasks=N
- Use
srun
- Use an MPI version of your software: a ‘regular’ non-MPI version will never work!
Links¶
Julia stuff here
MATLAB stuff here
R stuff here