X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/76264ed1928b146602ee73794d86798739cd1209..422ebe38da1dd2d6608e71a366e0d9af40bea830:/src/smpi/smpi_global.c diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 23b18266f6..400132300b 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -79,7 +79,7 @@ void smpi_process_init(int *argc, char ***argv) if (argc && argv) { proc = SIMIX_process_self(); //FIXME: dirty cleanup method to avoid using msg cleanup functions on these processes when using MSG+SMPI - // proc->context->cleanup_func=SIMIX_process_cleanup; + SIMIX_process_set_cleanup_function(proc, SIMIX_process_cleanup); char* instance_id = (*argv)[1]; int rank = atoi((*argv)[2]); index = smpi_process_index_of_smx_process(proc);