[Chapel Merge] Fix problem with ofi after PR #18880

Branch: refs/heads/main
Revision: 8de995f
Author: mppf
Link: Fix problem with ofi after PR #18880 by mppf · Pull Request #18971 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18971 from mppf/follow-18880-ofi

Fix problem with ofi after PR #18880

Follow-up to PR #18880 to fix a problem with ofi testing.

Even before PR #18880, we had

  • CHPL_COMM_OFI_OOB used in Makefiles and set by testing
  • CHPL_RT_COMM_OFI_OOB that was used in printchplenv before that PR
    and which I used after

PR #18880 added to the printchplenv logic and used it during chpl
invocations but that caused a problem because CHPL_COMM_OFI_OOB is set
in testing (and CHPL_RT_COMM_OFI_OOB is not).

This PR just changes the uses of CHPL_RT_COMM_OFI_OOB in printchplenv
to CHPL_COMM_OFI_OOB because it's used for computing -I and -L
flags and these don't happen at runtime.

Reviewed by @jhh67 - thanks!

Modified Files:
M util/chplenv/chpl_libfabric.py

Compare: https://github.com/chapel-lang/chapel/compare/3ea5a4121063...8de995f4f83c