Unknown field in MPI_status

I work with the MPI library, and using var like MPI_status, I'm tired of accessing the field count, but the compiler says that it is not available.
I found 2 different sukras - one claiming that the structure has a field called count, and the other claims that the field has a field called size.
I tried both, and both will not compile. any ideas?

Thank.

+3
source share
1 answer

http://www.netlib.org/utk/papers/mpi-book/node31.html

In C, a status is a structure of type MPI_Status, which contains three fields named MPI_SOURCE, MPI_TAG, and MPI_ERROR; the structure may contain additional fields.

using:

MPI_Get_count(MPI_Status *status, MPI_Datatype datatype, int *count) 
+8
source

Source: https://habr.com/ru/post/1788563/


All Articles