Closed HeRaNO closed 1 week ago
NS3_ASSERT
NS3_LOG
CC_MODE
3
assert failed. cond="ih.nhop <= IntHeader::maxHop", +0.000559210s 116 file=/root/SimAI/astra-sim-alibabacloud/extern/network_backend/ns3-interface/simulation/src/point-to-point/model/rdma-hw.cc, line=954
Output ih.nhop shows:
ih.nhop
nhop: 31245
If change the parallel thread from 3 to 1, the ih.nhop changes to
nhop: 23053
https://github.com/aliyun/SimAI/blob/master/astra-sim-alibabacloud/astra-sim/network_frontend/ns3/common.h#L685
add else before this line.
else
Reproduce
NS3_ASSERT
(https://github.com/aliyun/ns-3-alibabacloud/blob/master/simulation/CMakeLists.txt#L32) andNS3_LOG
(https://github.com/aliyun/ns-3-alibabacloud/blob/master/simulation/CMakeLists.txt#L35)CC_MODE
to3
(https://github.com/aliyun/SimAI/blob/master/astra-sim-alibabacloud/inputs/config/SimAI.conf#L14)Logs
Output
ih.nhop
shows:If change the parallel thread from 3 to 1, the
ih.nhop
changes toPotential Fix
https://github.com/aliyun/SimAI/blob/master/astra-sim-alibabacloud/astra-sim/network_frontend/ns3/common.h#L685
add
else
before this line.