From: Martin Quinson Date: Mon, 26 Dec 2011 23:01:56 +0000 (+0100) Subject: use sensible process names (their rank) in SMPI, and get simix ignore that X-Git-Tag: exp_20120216~195^2~9 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a85110a0cc574b70238ac058937989e573434f88?hp=3449b598e71c864ac636920b839cfe832d96d411;ds=sidebyside use sensible process names (their rank) in SMPI, and get simix ignore that --- diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 13d3c59957..6fa73d2ef6 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -271,7 +271,7 @@ int MAIN__(void) // parse the platform file: get the host list SIMIX_create_environment(xargv[1]); - SIMIX_function_register("smpi_simulated_main", smpi_simulated_main); + SIMIX_function_register_default(smpi_simulated_main); SIMIX_launch_application(xargv[2]); smpi_global_init(); diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 677f9322dc..ad8295b63e 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -229,7 +229,7 @@ do else host="${hostnames[$j]}" fi - echo " " >> ${APPLICATIONTMP} + echo " " >> ${APPLICATIONTMP} echo " " >> ${APPLICATIONTMP} for ARG in $*; do echo " " >> ${APPLICATIONTMP}