_gfortran_caf_co_broadcast (The GNU Fortran Compiler)

#### 7.2.33 `_gfortran_caf_co_broadcast` — Sending data to all images ¶

Synopsis:

  `void _gfortran_caf_co_broadcast (gfc_descriptor_t *a, int source_image, int *stat, char *errmsg, size_t errmsg_len)`

Description:

  Distribute a value from a given image to all other images in the team. Has to be called collectively.

Arguments:

  a | intent(inout) An array descriptor with the data to be broadcasted (on source_image) or to be received (other images).
  source_image | intent(in) The ID of the image from which the data should be broadcasted.
  stat | intent(out) Stores the status STAT= and may be NULL.
  errmsg | intent(out) When an error occurs, this is set to an error message; may be NULL.
  errmsg_len | intent(in) the buffer size of errmsg.