Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added a --cfg="smpi/simulation_computation" to smpirun. The default
authorHenri Casanova <henric@hawaii.edu>
Fri, 9 May 2014 01:17:37 +0000 (15:17 -1000)
committerHenri Casanova <henric@hawaii.edu>
Fri, 9 May 2014 01:17:37 +0000 (15:17 -1000)
commit8454c4dde25913b0c430ceff82aabab70ff0b1a6
treeb1bacb404dd16f2a17af984243b49b9f6792f8ea
parent68a3972f6c3c8865130f4341e3f2aaf7b69ea190
Added a --cfg="smpi/simulation_computation" to smpirun. The default
value is "yes", meaning that SMPI will benchmark computational parts
of the simulation application and simulate them using smpi_execute(), as
it's always been done in the past.

Disabling the simulation of computation is useful when smpirunning an "application"
that is in fact doing a "live replay" of another MPI app (e.g., ScalaTrace's replay tool, various on-line simulators that run an app at scale). In this case the computation due to the replay logic
should be be simulated by SMPI.

For the time being, for smpirunning such an "application", the approach is:
1. use --cfg="smpi/simulation_computation:no"
2. add calls to smpi_execute() in the "application"
src/simgrid/sg_config.c
src/smpi/smpi_bench.c