Skip to content

Commit

Permalink
bug fix: should've called nfmpi_inq_buffer_size
Browse files Browse the repository at this point in the history
  • Loading branch information
wkliao committed Sep 29, 2023
1 parent 92ba286 commit 01b15a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binding/f90/getput_var.m4
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ NBVAR(bput, 7, EightByteInt, integer, int8, `:,:,:,:,:,:,:', INTENTV)
integer (kind=MPI_OFFSET_KIND), intent(out) :: buf_size
integer :: nf90mpi_inq_buffer_size

nf90mpi_inq_buffer_size = nfmpi_inq_buffer_usage(ncid, buf_size)
nf90mpi_inq_buffer_size = nfmpi_inq_buffer_size(ncid, buf_size)
end function nf90mpi_inq_buffer_size

function nf90mpi_buffer_detach(ncid)
Expand Down

0 comments on commit 01b15a5

Please sign in to comment.