AP_COPY_FREE

Copy message to Fortran variable and free buffer

Synopsis



SUBROUTINE AP_COPY_FREE(dest, src, count)
<anytype> dest
INTEGER src, count

Parameters

dest
a Fortran variable where the user wants to copy the message
src
the descriptor passed back by AP_RECV()
count
the size passed back by AP_RECV()

Description

After receiving a message using the Fortran binding of AP_recv(), call this function to copy the message into Fortran memory space. After copying, this function will free the message descriptor so there is no need to call AP_free().