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

MPT/2.25 error when using PIO_NETCDF4P format. #1955

Open
jedwards4b opened this issue Jan 12, 2023 · 0 comments
Open

MPT/2.25 error when using PIO_NETCDF4P format. #1955

jedwards4b opened this issue Jan 12, 2023 · 0 comments

Comments

@jedwards4b
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant