Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

romio: Fix wrong communicator use in ADIOI_GEN_OpenColl #6884

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 19, 2024

  1. 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.
    range3 authored and roblatham00 committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    8ee5bd5 View commit details
    Browse the repository at this point in the history