Description
The README documents the following command using -busbw parameter:
bash
./bin/SimAI_analytical -w example/workload_analytical.txt -g 9216 -g_p_s 8 -r test- -busbw example/busbw.yaml
However, running this command only prints the help message and exits.
Root Cause
After examining the source code in
astra-sim-alibabacloud/astra-sim/system/AstraParamParse.hh
, the parameter parsing logic does not include -busbw. When the parser encounters this unknown argument, it falls into the else { return 1; } branch (line ~169), which triggers the help message output.
The actual supported bandwidth parameters are:
-nv / --nvlink (NVLink bandwidth)
-nic / --nic_busbw (NIC bandwidth)
-n_p_s / --nic_per_server (NICs per server)
Workaround
Use explicit bandwidth parameters instead:
bash
./bin/SimAI_analytical -w example/workload_analytical.txt -g 9216 -g_p_s 8 -r test- -nv 360 -nic 48.5 -n_p_s 8
Expected Behavior
Either:
Add -busbw parameter support to parse the busbw.yaml file, or
Update the README to remove the -busbw example and clarify the correct usage
Environment
OS: Ubuntu (PowerEdge R750)
Compiler: GCC 12.3.0
Branch: main
Description
The README documents the following command using -busbw parameter:
bash
./bin/SimAI_analytical -w example/workload_analytical.txt -g 9216 -g_p_s 8 -r test- -busbw example/busbw.yaml
However, running this command only prints the help message and exits.
Root Cause
After examining the source code in
astra-sim-alibabacloud/astra-sim/system/AstraParamParse.hh
, the parameter parsing logic does not include -busbw. When the parser encounters this unknown argument, it falls into the else { return 1; } branch (line ~169), which triggers the help message output.
The actual supported bandwidth parameters are:
-nv / --nvlink (NVLink bandwidth)
-nic / --nic_busbw (NIC bandwidth)
-n_p_s / --nic_per_server (NICs per server)
Workaround
Use explicit bandwidth parameters instead:
bash
./bin/SimAI_analytical -w example/workload_analytical.txt -g 9216 -g_p_s 8 -r test- -nv 360 -nic 48.5 -n_p_s 8
Expected Behavior
Either:
Add -busbw parameter support to parse the busbw.yaml file, or
Update the README to remove the -busbw example and clarify the correct usage
Environment
OS: Ubuntu (PowerEdge R750)
Compiler: GCC 12.3.0
Branch: main