We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 928289e + 2e813da commit f760c1dCopy full SHA for f760c1d
ompi/mca/common/ompio/common_ompio_file_open.c
@@ -235,6 +235,11 @@ int mca_common_ompio_file_close (ompio_file_t *ompio_fh)
235
int delete_flag = 0;
236
char name[256];
237
238
+ /* Call coll_barrier only if collectives are set (same reasoning as below for f_fs) */
239
+ if (NULL == ompio_fh->f_comm || NULL == ompio_fh->f_comm->c_coll) {
240
+ return OMPI_SUCCESS;
241
+ }
242
+
243
ret = ompio_fh->f_comm->c_coll->coll_barrier ( ompio_fh->f_comm, ompio_fh->f_comm->c_coll->coll_barrier_module);
244
if ( OMPI_SUCCESS != ret ) {
245
/* Not sure what to do */
0 commit comments