[Chapel Merge] Do not initialize fabric domain when there is only

Branch: refs/heads/main
Revision: a4265e5
Author: jhh67
Link: Unavailable
Log Message:

Merge pull request #20553 from jhh67/nl-1

Do not initialize fabric domain when there is only one locale.

The libfabric comm layer is only partially initialized when there is only one locale to avoid unnecessary overheads. In this situation we should not initialize the fabric domain because doing so depends on other parts of the libfabric layer that have not been initialized.

Passes all multi-locale tests on an EX.

[Reviewed by @ronawho]

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

Compare: https://github.com/chapel-lang/chapel/compare/938795b491cb...a4265e589174