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.
1 parent 928289e commit 2a60a9bCopy full SHA for 2a60a9b
ompi/mca/common/ompio/common_ompio_file_open.c
@@ -235,6 +235,10 @@ 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
ret = ompio_fh->f_comm->c_coll->coll_barrier ( ompio_fh->f_comm, ompio_fh->f_comm->c_coll->coll_barrier_module);
243
if ( OMPI_SUCCESS != ret ) {
244
/* Not sure what to do */
0 commit comments