HCCL_IF_BASE_PORT
Description
Specifies the start port number of the host NIC when the communicator is created based on root node information. After the configuration, the system uses 32 ports starting from this port by default to collect cluster information.
The value of this environment variable must be an integer ranging from 1024 to 65520. Ensure that the allocated port is not occupied.
Example
export HCCL_IF_BASE_PORT=50000
Restrictions
- If you do not specify a port using the HCCL_IF_BASE_PORT environment variable, HCCL uses ports 60000 to 60031 by default. You need to run the following command to reserve OS ports in this range:
sysctl -w net.ipv4.ip_local_reserved_ports=60000-60031
- If you use the HCCL_IF_BASE_PORT environment variable to specify a port, for example, 50000, HCCL uses ports 50000 to 50031. You need to run the following command to reserve OS ports in this range:
sysctl -w net.ipv4.ip_local_reserved_ports=50000-50031