X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/444b3487fdce26571d25a82b1fb835c8c15e550f..91bb8b44ef09735fc79f40a3d9eeb69456a46909:/src/smpi/smpi_global.c diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index b5b05afe04..0616abdc19 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -68,6 +68,9 @@ void smpi_process_init(int *argc, char ***argv) if (argc && argv) { proc = SIMIX_process_self(); index = atoi((*argv)[1]); +#ifdef SMPI_F2C + smpi_current_rank = index; +#endif data = smpi_process_remote_data(index); simcall_process_set_data(proc, data); if (*argc > 2) {