Parallel File I/O (parallel-library-mpiio-collective-access)

Version's name: Parallel File I/O (parallel-library-mpiio-collective-access) ; a version of the Parallel File I/O program.
Repository: [home] and version downloads: [.zip] [.tar.gz] [.tar.bz2] [.tar]
Patterns and behaviours: Sequential ASCII file I/O ·
Implemented best practices: Parallel library file I/O ·

Parallel file I/O using the MPI library file I/O with collective file access (all processes must participate in file access).

The following pseudo-code shows the process for writing data.

filename = "file.mpiio"
open_file_with_collective_access(filename)
write_data_to_file(data, filename)
close_file(filename)

The process is reversed when reading data from file, as follows.

filename = "file.mpiio"
open_file_with_collective_access(filename)
read_data_from_file(data, filename)
close_file(filename)