Pointers are used in the send and receive used in book and in MPI, but they can be avoided by passing the arguments by value. For example, pointers can be eliminated in the receive routine by having the routing return the message data, which then can be assigned to a variable, i.e., x = recv(sourceID). Write new routines to “wrap” around regular MPI send and receive routines to avoid pointers and demonstrate their use.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here