Configures the communication algorithms between servers and supernodes. The algorithms can be configured globally or by operator.
This section only provides a brief introduction to configurable algorithm functions. For details, see Collective Communication Algorithms.
export HCCL_ALGO="level0:NA;level1:<algo>;level2:<algo>"
For the Atlas 350 Accelerator Card of the current version, only the NHR algorithm can be configured.
Note: When level1 (inter-server communication algorithm) is set to AHC, level2 (inter-supernode communication algorithm) automatically uses the AHC algorithm without additional configuration. Even if level2 is set to another algorithm, the setting does not take effect.
For details about the communication operators, data types, and network running modes supported by each inter-supernode communication algorithm, see List of Supported Algorithms for Inter-Supernode Communication.
If level2 is not set, the ring algorithm is used when the number of supernodes in the communicator is less than 8 and is not an integral power of 2. In other scenarios, the H-D_R algorithm is used.
export HCCL_ALGO="<op0>=level0:NA;level1:<algo0>;level2:<algo1>/<op1>=level0:NA;level1:<algo3>;level2:<algo4>"
export HCCL_ALGO="level0:NA;level1:NHR"
# The AllReduce operator uses the ring algorithm and the AllGather operator uses the RHD algorithm. Other operators automatically select a communication algorithm based on the product form, number of nodes, and data size. export HCCL_ALGO="allreduce=level0:NA;level1:ring/allgather=level0:NA;level1:H-D_R"
Atlas 350 Accelerator Card