I am writing an MPI program that has the first instance working as a master, sending and receiving results from its workers.
The receive function does something like this