This function returns the current image number, which is a positive number.
int _gfortran_caf_this_image (int distance)
distance | As specified for the this_image intrinsic in TS18508. Shall be a non-negative number. |
If the Fortran intrinsic this_image
is invoked without an argument, which is the only permitted form in Fortran 2008, GCC passes 0
as first argument.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/_005fgfortran_005fcaf_005fthis_005fimage.html