HCCL_SOCKET_FAMILY
Description
- AF_INET: The IPv4 protocol is used.
- AF_INET6: The IPv6 protocol is used.
By default, IPv4 is used.
- IP protocol version used by the communication NIC on the host during HCCL initialization
In this scenario, this environment variable must be used together with HCCL_SOCKET_IFNAME. When HCCL obtains the host IP address by specifying the NIC name, this environment variable is used to specify the IP protocol for socket communication of the NIC.
- IP protocol version used by the communication NIC on the device during HCCL initialization.
In this scenario, if the IP protocol specified by the environment variable does not match the obtained NIC information, use the NIC information in the actual environment.
For example, if the environment variable specifies the IPv6 protocol but only the IPv4 NIC exists on the device, the IPv4 NIC is used.
Example
export HCCL_SOCKET_FAMILY=AF_INET #IPv4 export HCCL_SOCKET_FAMILY=AF_INET6 #IPv6
Constraints
None
Applicability
Atlas 350 Accelerator Card