X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bf2cf8030ae6d911565e7726e275a560f201dfb..4ce21c89522602e9ba23daa8d5e9f14b25a6afa3:/src/smpi/smpi_global.c diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index ba6abe3b1f..f1570122eb 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -228,6 +228,8 @@ void smpi_global_destroy(void) } xbt_free(process_data); process_data = NULL; + + smpi_free_static(); } /* Fortran specific stuff */ @@ -247,20 +249,21 @@ int MAIN__(void) srand(SMPI_RAND_SEED); if(getenv("SMPI_PRETEND_CC") != NULL) { - /* Hack to ensure that smpicc can pretend to be a simple compiler. Particularly handy to pass it to the configuration tools */ + /* Hack to ensure that smpicc can pretend to be a simple compiler. Particularly handy to pass it to the configuration tools */ return 0; } /* Connect log categories. See xbt/log.c */ - XBT_LOG_CONNECT(smpi_base, smpi); - XBT_LOG_CONNECT(smpi_bench, smpi); - XBT_LOG_CONNECT(smpi_coll, smpi); - XBT_LOG_CONNECT(smpi_comm, smpi); - XBT_LOG_CONNECT(smpi_group, smpi); - XBT_LOG_CONNECT(smpi_kernel, smpi); - XBT_LOG_CONNECT(smpi_mpi, smpi); - XBT_LOG_CONNECT(smpi_mpi_dt, smpi); - XBT_LOG_CONNECT(smpi_pmpi, smpi); + XBT_LOG_CONNECT(smpi); + XBT_LOG_CONNECT(smpi_base); + XBT_LOG_CONNECT(smpi_bench); + XBT_LOG_CONNECT(smpi_coll); + XBT_LOG_CONNECT(smpi_comm); + XBT_LOG_CONNECT(smpi_group); + XBT_LOG_CONNECT(smpi_kernel); + XBT_LOG_CONNECT(smpi_mpi); + XBT_LOG_CONNECT(smpi_mpi_dt); + XBT_LOG_CONNECT(smpi_pmpi); #ifdef HAVE_TRACING TRACE_global_init(&xargc, xargv);