From 8b95fffecc71316caa9af763b76c8c11cbdcda9c Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Thu, 18 Aug 2016 14:35:35 +0200 Subject: [PATCH] [DOC] Added another SMPI_PRETEND_CC warning --- doc/doxygen/module-smpi.doc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 */ -- 2.20.1