Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
romio: Fix wrong communicator use in ADIOI_GEN_OpenColl
When ADIOI_GEN_OpenColl is called in ADIO_CREAT mode, file creation is done by calling ADIOI_xxx_Open with MPI_COMM_SELF by rank == fd->hints->ranklist[0]. If successful, the file is closed with ADIOI_xxx_Close, and later the file will be opened by all without creation flag. The problem is that the communicator of ADIOI_GEN_OpenColl is passed to ADIOI_xxx_Close instead of MPI_COMM_SELF. If a collective call is made using this communicator in ADIOI_xxx_Close, it may hang.
- Loading branch information