X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ddf200da26e5f76607a92be55c34f71b1ce6acf4..12cdc9f3fef6c84dea9a3eb4602c2183d8bd3a9e:/src/smpi/smpi_global.c diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index a6c1f6f6a3..822f0cadec 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -125,16 +125,15 @@ void smpi_global_init() int size = SIMIX_host_get_number(); /* Connect our log channels: that must be done manually under windows */ - /* (should be done only once, not for each process) */ - #ifdef XBT_LOG_CONNECT - XBT_LOG_CONNECT(smpi_base, smpi); +#ifdef XBT_LOG_CONNECT + XBT_LOG_CONNECT(smpi_base, smpi); XBT_LOG_CONNECT(smpi_bench, smpi); XBT_LOG_CONNECT(smpi_kernel, smpi); XBT_LOG_CONNECT(smpi_mpi, smpi); XBT_LOG_CONNECT(smpi_receiver, smpi); XBT_LOG_CONNECT(smpi_sender, smpi); XBT_LOG_CONNECT(smpi_util, smpi); - #endif +#endif smpi_global = xbt_new(s_smpi_global_t, 1); // config variable