1
1

Merge pull request #3906 from edgargabriel/pr/lazy_open_fix

common/ompio: fix the lazy_open flag
Этот коммит содержится в:
Edgar Gabriel 2017-07-17 10:58:13 -05:00 коммит произвёл GitHub
родитель 931c2021c7 8e17827a13
Коммит 13b14f5efe

Просмотреть файл

@ -200,12 +200,12 @@ int mca_common_ompio_file_open (ompi_communicator_t *comm,
!mca_io_ompio_sharedfp_lazy_open ) {
shared_fp_base_module = ompio_fh->f_sharedfp;
ret = shared_fp_base_module->sharedfp_seek(ompio_fh,current_size, MPI_SEEK_SET);
}
else {
opal_output(1, "mca_common_ompio_file_open: Could not adjust position of "
"shared file pointer with MPI_MODE_APPEND\n");
ret = MPI_ERR_OTHER;
goto fn_fail;
if ( MPI_SUCCESS != ret ) {
opal_output(1, "mca_common_ompio_file_open: Could not adjust position of "
"shared file pointer with MPI_MODE_APPEND\n");
ret = MPI_ERR_OTHER;
goto fn_fail;
}
}
}