_gfortran_caf_is_present_on_remote
— Check that a coarray or a part of it is allocated on the remote image ¶int32_t _gfortran_caf_is_present_on_remote (caf_token_t token,
const int image_index, const int is_present_index, void *add_data,
const size_t add_data_size)
Check if an allocatable coarray or a component of a derived type coarray is allocated on the remote image identified by the image_index. The check is done by calling routine on the remote side.
token | intent(in) An opaque pointer identifying the coarray. |
image_index | intent(in) The ID of the remote image; must be a
positive number. this_image () is valid. |
is_present_index | intent(in) The index of the accessor to
execute as returned by _gfortran_caf_get_remote_function_index () . |
add_data | intent(inout) Additional data needed in the accessor. I.e., when an array reference uses a local variable v, it is transported in this structure and all references in the accessor are rewritten to access the member. The data in the structure of add_data may be changed by the accessor, but these changes are lost to the calling Fortran program. |
add_data_size | intent(in) The size of the add_data structure. |