Skip to content

Commit e7588f0

Browse files
authored
Merge pull request #2785 from edgargabriel/pr/sharedfp-append-fix
common/ompio: update comment based on the previous commit.
2 parents f392082 + 4dc09de commit e7588f0

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

ompi/mca/common/ompio/common_ompio_file_open.c

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,10 @@ int mca_common_ompio_file_open (ompi_communicator_t *comm,
150150
*/
151151
}
152152

153-
/* open the file once more for the shared file pointer if required.
154-
** Per default, the shared file pointer specific actions are however
155-
** only performed on first access of the shared file pointer, except
156-
** for the addproc sharedfp component.
157-
**
158-
** Lazy open does not work for the addproc sharedfp
159-
** component since it starts by spawning a process using MPI_Comm_spawn.
160-
** For this, the first operation has to be collective which we can
161-
** not guarantuee outside of the MPI_File_open operation.
162-
*/
153+
/* open the file once more for the shared file pointer if required.
154+
** Can be disabled by the user if no shared file pointer operations
155+
** are used by his application.
156+
*/
163157
if ( NULL != ompio_fh->f_sharedfp &&
164158
true == use_sharedfp &&
165159
(!mca_io_ompio_sharedfp_lazy_open ||

0 commit comments

Comments
 (0)