TextFileWriteOrdered

Write ordered output to a TextFile

Synopsis

int TextFileWriteOrdered(TextFile fh, const char *buf, size_t len)

Input Parameters

fh
TextFile previously opened
buf
Data to write
len
Number of characters to write

Notes

This routine writes to the file (or FILE handle) previously opened. The output is ordered with respect to the rank in the communicator associated with the TextFile. This is a collective routine; internally, it calls TextFileWriteFlush to output data.

Return value

An error code. Currently, MPI_SUCCESS is returned on success and an MPI error class is returned on failure. A future implementation may return a user-defined MPI error code.