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

Version's name: Parallel File I/O (parallel-library-netcdf-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: Implemented best practices: Parallel library file I/O ·

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

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

filename = "file.nc"
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.nc"
open_file_with_collective_access(filename)
read_data_from_file(data, filename)
close_file(filename)