1. Don't change the current MPI draft.
2. Add a reserved info key "file_perm"
3. Add an implementation dependent MPI_Perm argument to MPI_Open.
4. Add an MPI_Perm argument to MPI_Open with all values specified.
The textual changes to the draft for option 2 are included below.
If someone wants to write up a proposal for option 3 or 4, I will
include it so we can vote on it during the October meeting.
At this stage, I think our top priority is to get the I/O chapter
into shape for the Supercomputing release. For this reason, I
hesitate to include any proposals which are less then fully
fleshed-out (with complete text).
- bill
2. Add a reserved info key "file_perm":
The current draft says (in MPI_Open):
Advice to users: Some file attributes are inherently
implementation dependent. These attributes must be set using
facilities outside the scope of MPI. For example, UNIX file
access permissions can be specified via the UNIX umask.
The above paragraph would be changed to:
Advice to users: Some file attributes are inherently
implementation dependent. These attributes must be set
either via the \mpiarg{info} argument, or using facilities
outside the scope of MPI. For example, file permissions
on newly created files can be set via the \info{file\_perm}
info key.
The following is the current text in MPI_Open dealing with
info parameters:
The \mpiarg{info} argument is used to provide information
regarding file access patterns and file system specifics to direct
optimization (see section \ref{sec:io-info}). The constant
\const{MPI\_INFO\_NULL} refers to the null info, and can be
used when no info needs to be specified.
This text would be changed to:
The \mpiarg{info} argument is used to provide information
regarding file access patterns and file system specifics
(e.g. optimization, protection, see section \ref{sec:io-info}).
The constant \const{MPI\_INFO\_NULL} refers to the null info,
and can be used when no info needs to be specified.
And the following new info key would be added to the File Hints section:
\item[\info{file\_perm} (integer or choice) {[SAME]}:]
This hint specifies the file permissions to use for file creation.
Although the value for this key is implementation dependent,
if the value is an integer (e.g. 0644), it will be interpreted
as in a POSIX \verb+open()+ \cite{POSIX:Std}.