HCCL_IF_IP
Description
Configures the communication IP address used by the host during HCCL initialization when the communicator is created based on root node information. This IP address is used to communicate with the root node to create a communicator.
The value is a character string in IPv4 or IPv6 format. Currently, only the host NIC is supported, and only one IP address can be configured.
The HCCL selects the host communication NIC in the following sequence:
Environment variable HCCL_IF_IP > Environment variable HCCL_SOCKET_IFNAME > NICs other than Docker or local NICs (NIC names in ascending lexicographical order) > Docker NICs > local NICs
If HCCL_IF_IP or HCCL_SOCKET_IFNAME is not set, the system automatically selects NICs according to priorities. If the NIC specified for the current node is disconnected from that for the root node, the HCCL link establishment will fail.
Example
export HCCL_IF_IP=10.10.10.1
Restrictions
None