Parallel file I/O using the NetCDF file I/O library with independent file access (any process may access the data without waiting for others). All processes read or write to the same file.
The following pseudo-code shows the process for writing data.
filename = "file.nc"
open_file_with_independent_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_independent_access(filename)
read_data_from_file(data, filename)
close_file(filename)