* parameter smpi/runnning-power has been renamed
* fix error message
[ci-skip]
.. code-block:: console
$ smpicxx -O3 gemm_mpi.cpp -o gemm
- $ time smpirun -np 16 -platform cluster_crossbar.xml -hostfile cluster_hostfile --cfg=smpi/display-timing:yes --cfg=smpi/running-power:1000000000 ./gemm
+ $ time smpirun -np 16 -platform cluster_crossbar.xml -hostfile cluster_hostfile --cfg=smpi/display-timing:yes --cfg=smpi/host-speed:1000000000 ./gemm
This should end quite quickly, as the size of each matrix is only 1000x1000.
But what happens if we want to simulate larger runs?
[](const std::string& str) {
_smpi_cfg_host_speed = xbt_parse_get_speed("smpi/host-speed", 1, str, "option smpi/host-speed");
xbt_assert(_smpi_cfg_host_speed > 0.0, "Invalid value (%s) for 'smpi/host-speed': it must be positive.",
- _smpi_cfg_host_speed_string.get().c_str());
+ str.c_str());
}};
simgrid::config::Flag<bool> _smpi_cfg_simulate_computation{