> [...]
The motivation behind MPI_File_get_comm was two-fold: to support
third party libraries and for completeness. A third party library
may need to retrieve the set of processes which opened a file, but
only have the file handle; getting the communicator is a convenient
mechanism for this. As far as completeness goes---everything else
has an get routine...
> I am also wondering why MPI_File_get_comm is a collective operation.
Creating a dup of a communicator is a collective operation.
> I look forward to being illuminated about these mysteries!
>
> Linda Stanberry
> lstanberry@llnl.gov
- bill