Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Moving SMPI app deployment to C++ code
authorBruno Donassolo <bruno.donassolo@inria.fr>
Wed, 2 Jun 2021 18:11:09 +0000 (20:11 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Fri, 4 Jun 2021 11:42:15 +0000 (13:42 +0200)
commitc02acff354ef915c0c88943e73959ca5c081b524
tree093df68b7809eeaa0157a1a6bf9d9886aae2697c
parent3124a634e554a1f33773415b8376e533f50b383f
Moving SMPI app deployment to C++ code

Enable the deployment of SMPI experiments with C++ platform description.
Move application deployment from smpirun to smpi_main function.

The smpirun script used to parse the platform XML to create an
application deployment. This isn't possible anymore since we may don't
have a platform XML anymore.

Move the necessary input to smpi_main through specific cfg variables:
- smpi/hostfile: host file
- smpi/replay: replay file
- smpi/np: number of processes
- smpi/map: mapping process/rank

This cfg isn't used by users, they are cached inside the smpirun script.
src/smpi/include/private.hpp
src/smpi/internals/smpi_deployment.cpp
src/smpi/internals/smpi_global.cpp
src/smpi/smpirun.in