From: degomme Date: Tue, 19 Jan 2016 23:34:21 +0000 (+0100) Subject: Don't tell the user to use an option his simgrid soes not support (but tease him). X-Git-Tag: v3_13~1195 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ab8f496043234b27bb613ad7503a971a54560774 Don't tell the user to use an option his simgrid soes not support (but tease him). Signed-off-by: degomme --- diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index 7721908bc8..8ffbde11d7 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -101,8 +101,13 @@ static void _XBT_CALL segvhandler(int signum, siginfo_t *siginfo, void *context) fprintf(stderr, "Segmentation fault.\n"); #ifdef HAVE_SMPI if (smpi_enabled() && !smpi_privatize_global_variables) { +#ifdef HAVE_PRIVATIZATION fprintf(stderr, "Try to enable SMPI variable privatization with --cfg=smpi/privatize_global_variables:yes.\n"); +#else + fprintf(stderr, + "Sadly, your system does not support --cfg=smpi/privatize_global_variables:yes (yet).\n"); +#endif } #endif }