[Chapel Merge] dlopen: Propagate program IDs through GASNet comm layer

Branch: refs/heads/main
Revision: 21965dc6ef6ea5318137fb14aeb4729813d31825
Author: dlongnecke-cray
Link: dlopen: Propagate program IDs through GASNet comm layer by dlongnecke-cray · Pull Request #28924 · chapel-lang/chapel · GitHub
Log Message:
dlopen: Propagate program IDs through GASNet comm layer (#28924)

This PR makes some adjustments to the GASNet comm layer in order support
using the "execute on" family of functions with dynamically loaded
Chapel programs. It also has the comm layer agnostic "execute on"
handlers set some fields in the "on bundle" to ensure consistency.

TESTING

  • standard
  • COMM=gasnet
  • COMM=gasnet, COMPILER=gnu
  • COMM=gasnet, SEGMENT=fast
  • Build with COMM=ofi

Reviewed by @benharsh. Thanks!

Compare: Comparing 94b57037f2f1b7c2b1c1677152586084f26b8480...bb4d47b9b7841681ed74146980deffb4de7fda25 · chapel-lang/chapel · GitHub

Diff:
M runtime/include/chpl-comm.h
M runtime/src/chpl-comm.c
M runtime/src/comm/gasnet/comm-gasnet-ex.c
https://github.com/chapel-lang/chapel/pull/28924.diff