parallel-io-mpi
Differences
This shows you the differences between two versions of the page.
| parallel-io-mpi [June 11, 2026 at 09:10] – created - external edit 127.0.0.1 | parallel-io-mpi [June 11, 2026 at 09:12] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| # Parallel I/O (MPI) | # Parallel I/O (MPI) | ||
| - | POSIX `pwrite(fd, buf, n, offset)` lets multiple processes write to different offsets in the same file without interfering: | + | POSIX `pwrite(fd, buf, n, offset)` lets multiple processes write to different offsets in the same file without interfering: |
| + | |||
| + | MPI-IO builds on the same idea but adds a collective interface: each process opens the same file with `MPI_File_open` and writes its portion with an explicit offset. The advantage of the collective call `MPI_File_write_at_all` is that the runtime can merge small contributions from all processes into fewer, larger I/O operations aligned to filesystem stripe boundaries. | ||
| ```c | ```c | ||
parallel-io-mpi.1781169013.txt.gz · Last modified: by 127.0.0.1
