MPT/2.25 error when using PIO_NETCDF4P format.

Aperta
#1,955 0 commenti 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 by reproducing the parallel write with mpt/2.25 and compare it with openmpi/4.1.4. Inspect pio_darray_int.c around line 463 and HDF5's H5FDmpio.c around line 1620, using the reported MPI_get_elements_x counts as the comparison point. Done means the MPT path reports the correct byte count and completes the write without the NetCDF HDF error.

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

Descrizione

This is a bug in the MPI library mpt/2.25

Using mpt/2.25
intel/19.1.1
https://github.com/jedwards4b/netcdf-c/tree/jedwards/add_udf2 this is a recent branch of netcdf-c main.
​hdf5 1.12.2

I am doing a parallel write of netcdf4 format with 1 task and running into a write error in the HDF5 layer.
Debugging shows the error is happening at line 1620 of H5FDmpio.c This code to confirm the number of bytes written is purely diagnostic so I was able
to comment out the section of code from line 1600 to 1620 after which I have confirmed that the file is written correctly and the diagnostic which generates the error is incorrect.

I've confirmed that the bug is in the mpi layer by building and running with openmpi/4.1.4

​when using mpt on the third call to MPI_get_elements_x a count of 9 is returned.
​
I added a print statement at line 1620

For the successful openmpi case I see:
39: bytes_written 6270 io_size 6270
39: bytes_written 18874368 io_size 18874368
39: bytes_written 18874368 io_size 18874368
39: bytes_written 3548 io_size 3548
39: bytes_written 48 io_size 48

For the failing mpt case I see:
39: bytes_written 6270 io_size 6270
39: bytes_written 18874368 io_size 18874368
39: bytes_written 9 io_size 18874368
39: ERROR: 0 NetCDF: HDF error err_num = -101 fname = /glade/u/home/jedwards/sandboxes/pio/src/clib/pio_darray_int.c line = 463

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.