-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
It's written in the documentation that there are no partial transfers: http://libdill.org/mrecv.html
However, I am receiving 236 bytes while I am expecting 1600000 bytes. The status code is 0 which means that the operation is successful.
Is there any references which I can look into?
I changed msend and mrecv in mod_dill.f90 to real c_double. The double array gets transferred from client to server without any issues but from server to client, the transfer is partial.
integer(c_size_t) function mrecv(s, buf, len, deadline) &
bind(c, name='dill_mrecv')
import :: c_char, c_int, c_int64_t, c_size_t, **c_double**
integer(c_int), value, intent(in) :: s
**real(c_double), intent(in out) :: buf(*)**
integer(c_size_t), value, intent(in) :: len
integer(c_int64_t), value, intent(in) :: deadline
end function mrecv
integer(c_int) function msend(s, buf, len, deadline) &
bind(c, name='dill_msend')
import :: c_char, c_int, c_int64_t, c_size_t, **c_double**
integer(c_int), value, intent(in) :: s
**real(c_double), intent(in) :: buf(*)**
integer(c_size_t), value, intent(in) :: len
integer(c_int64_t), value, intent(in) :: deadline
end function msend
Metadata
Metadata
Assignees
Labels
No labels