MPI_DATATYPE_NULL in mpi distributions

Aperta
#1,945 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c

Direzione di ricerca

Start at src/clib/pio_internal.h line 65 and read the existing MPI_DATATYPE_NULL workaround. Compare the reported Open MPI, HPE/SGI MPT, and MPICH 4.0.0 behavior with the MPICH 4.0.1 fix and the linked ESMF and MPICH issues. Done means selecting and documenting whether the workaround should remain conditional or apply to all MPI distributions, then updating the relevant code.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

In pio_internal.h we have a workaround for mpi libraries that do not (IMHO) correctly interpret the MPI standard with respect to the MPI_DATATYPE_NULL variable and generate errors when this datatype is passed to the library even when the associated data count is 0. If this is not the intent of MPI_DATATYPE_NULL then I have no idea what is. The code in pio_internal.h works around the problem for openmpi where we lost an argument here. And the HPE/SGI mpt implementation (pointless to argue, no issue was filed).

This recently came up again as an ESMF issue. when MPICH 4.0.0 is used.
An issue in the mpich repo indicates that the mpich developers fixed this issue in 4.0.1. Do we add another exception in pio_internal.h or just use our workaround all the time. @edwardhartnett?

Lingua principale
C
Stelle
162
Fork
60
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NCAR/ParallelIO

Tutte le issue di NCAR/ParallelIO

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.