HCCL_RDMA_SL Configuration Error (EI0001)

Symptom

The keyword EI0001 or Value *** for environment variable *** is invalid exists in the printed logs, as shown below:

[PID:3729526]2025-10-23-17:30:40.098.984Config_Error_Invalid_Environment_Variable(EI0001): Value 1000 for environment variable HCCL_RDMA_SL is invalid. Expected value : range[0, 7].
For the Atlas inference product, Atlas training product, Atlas A2 training product/Atlas A2 inference product, Atlas A3 training product/Atlas A3 inference product, if the error information in the CANN log contains the keyword externalinput.cc, as shown below, an error occurs when reading the environment variable:
[ERROR]HCCL(3729526,python3.11):2025-10-23-17:30:40.098.973 [externalinput.cc:963] [3729526][Parse][rdmaServerLevel]HCCL_RDMA_SL[1000] is invalid. except: [0, 7]
[ERROR]HCCL(3729526,python3.11):2025-10-23-17:30:40.099.058 [externalinput.cc:169] [3729526][InitGroupStage][EnvConfig]errNo[0x0000000005000001] In init env variable param, parse HCCL_RDMA_SL failed. errno[1]
[ERROR]HCCL(3729526,python3.11):2025-10-23-17:30:40.099.063 [externalinput.cc:47] [3729526][InitExternalInput]call trace: hcclRet -> 1
[ERROR]HCCL(3729526,python3.11):2025-10-23-17:30:40.099.068 [op_base.cc:866] [3729526][HcclGetRootInfo]call trace: hcclRet -> 1

Possible Cause and Solution

The environment variable configuration does not meet the requirements. Adjust the environment variable value based on the suggested value range in the log. If you still have questions, see Environment Variables.