From: Christian Heinrich Date: Thu, 18 Aug 2016 12:35:35 +0000 (+0200) Subject: [DOC] Added another SMPI_PRETEND_CC warning X-Git-Tag: v3_14~523^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8b95fffecc71316caa9af763b76c8c11cbdcda9c?hp=991111332411883093b4a6fe1d47469317839136 [DOC] Added another SMPI_PRETEND_CC warning --- diff --git a/doc/doxygen/module-smpi.doc b/doc/doxygen/module-smpi.doc index 52f1353dfb..9ce6424447 100644 --- a/doc/doxygen/module-smpi.doc +++ b/doc/doxygen/module-smpi.doc @@ -49,10 +49,10 @@ go. For that, simply use smpicc as a compiler just like you use mpicc with other MPI implementations. This script -replaces your usual compiler (gcc, clang, whatever) and adds the right +still calls your default compiler (gcc, clang, ...) and adds the right compilation flags along the way. -This may badly interact with some building infrastructure. Your +Alas, some building infrastructures cannot cope with that and your ./configure may fail, reporting that the compiler is not functional. If this happens, define the SMPI_PRETEND_CC environment variable before running the configuration. Do not define @@ -63,6 +63,12 @@ SMPI_PRETEND_CC=1 ./configure # here come the configure parameters make @endverbatim +\warn + Again, make sure that SMPI_PRETEND_CC is not set when you actually + compile your application. It is just a work-around for some configure-scripts + and replaces some internals by "return 0;". Your simulation will not + work with this variable set! + @subsection SMPI_use_exec Executing your code on the simulator Use the smpirun script as follows for that: @@ -544,4 +550,4 @@ TBD */ -/** @example include/smpi/smpi.h */ \ No newline at end of file +/** @example include/smpi/smpi.h */