So, as a work around, instead of using "host_to_node_real" function, I used "PRF_CSEND_REAL(node_zero, &a, 4, myid)" to send the data from the host and then used "PRF_CRECV_REAL(host, &a, 4, host)" to receive it on the node_0. But now during compilation, I'm getting the "undeclared identifier" error for the host parameter. And I'm stuck again! :/
How to fix this?