[Chapel Merge] To facilitate testing use environment variables to

Branch: refs/heads/main
Revision: e017d6e
Author: jhh67
Link: Use environment variable CHPL_RT_COMM_OFI_INJECT to control fi_inject by jhh67 · Pull Request #19328 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19328 from jhh67/T3133

To facilitate testing use environment variables to control fi_inject:

CHPL_RT_COMM_OFI_INJECT_RMA -- inject RMA messages when possible.
CHPL_RT_COMM_OFI_INJECT_AMO -- inject AMO messages when possible.
CHPL_RT_COMM_OFI_INJECT_AM -- inject AM messages when possible.

By default injection is enabled for all three types of messages.

[Reviewed by @ronawho and @gbtitus]

Modified Files:
M runtime/src/comm/ofi/comm-ofi.c

Compare: https://github.com/chapel-lang/chapel/compare/00af0d059d10...e017d6e63c6a