X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1fda4cc79d808bb4ca659d056c5e67be99ce47ca..547dcb18f86cbb1fe2f903ff692ca72bf60ab5ea:/doc/FAQ.doc
diff --git a/doc/FAQ.doc b/doc/FAQ.doc
index a6ec582641..4b028bd13e 100644
--- a/doc/FAQ.doc
+++ b/doc/FAQ.doc
@@ -112,30 +112,17 @@ For Unix and MacOS:
\li cmake (download page)
For Windows :
- \li cmake 2.8.3 (download page)
- \li Dev-c++ (download page)
+ \li cmake 2.8 (download page)
\li perl strawberry (download page)
\li pcre-7.0 (download page)
- \li Set environment variables.
-
-\verbatim
-CC to C:\Dev-Cpp\bin\gcc
-CXX to C:\Dev-Cpp\bin\g++
-INCLUDE to C:\Dev-Cpp\include
-LIB to C:\Dev-Cpp\lib
-PCRE_LIBRARY_PATH to C:\
-PATH to C:\Dev-Cpp\bin
-\endverbatim
\subsubsection faq_cmakeoption1 Liste of options
\verbatim
"cmake -D[name]=[value] ... ./"
-
+
[name] enable_gtnets [value] ON/OFF or TRUE/FALSE or 1/0
- enable_java ON/OFF or TRUE/FALSE or 1/0
enable_lua ON/OFF or TRUE/FALSE or 1/0
- enable_ruby ON/OFF or TRUE/FALSE or 1/0
enable_compile_optimizations ON/OFF or TRUE/FALSE or 1/0
enable_compile_warnings ON/OFF or TRUE/FALSE or 1/0
enable_smpi ON/OFF or TRUE/FALSE or 1/0
@@ -143,23 +130,25 @@ PATH to C:\Dev-Cpp\bin
enable_supernovae ON/OFF or TRUE/FALSE or 1/0
enable_tracing ON/OFF or TRUE/FALSE or 1/0
enable_coverage ON/OFF or TRUE/FALSE or 1/0
- enable_memcheck ON/OFF or TRUE/FALSE or 1/0
+ enable_memcheck ON/OFF or TRUE/FALSE or 1/0
enable_model-checking ON/OFF or TRUE/FALSE or 1/0
+ enable_debug ON/OFF or TRUE/FALSE or 1/0
+ enable_jedule ON/OFF or TRUE/FALSE or 1/0
+ enable_latency_bound_tracking ON/OFF or TRUE/FALSE or 1/0
+ enable_lib_static ON/OFF or TRUE/FALSE or 1/0
+ enable_pcre ON/OFF or TRUE/FALSE or 1/0
+ custom_flags
gtnets_path
CMAKE_INSTALL_PREFIX
- pipol_user
+ pipol_user
\endverbatim
\subsubsection faq_cmakeoption2 Options explaination
\li enable_gtnets : set to true implie that user wants to use gtnets.
- \li enable_java : set to true implie that user wants to add java langage into simgrid compilation.
-
\li enable_lua : set to true implie that user wants to add lua langage into simgrid compilation.
- \li enable_ruby : set to true implie that user wants to add ruby langage into simgrid compilation.
-
\li enable_compile_optimizations : add flags "-O3 -finline-functions -funroll-loops -fno-strict-aliasing"
\li enable_compile_warnings : add flags "-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror"
@@ -170,7 +159,7 @@ PATH to C:\Dev-Cpp\bin
\li enable_supernovae : set to true make one file for each lib and compile with those generated files.
- \li enable_tracing : To enable the generation of simulation traces for visualization
+ \li enable_tracing : To enable the generation of simulation traces for visualization.
\li enable_coverage : When set to true this option enable code coverage by setting -fprofile-arcs -ftest-coverage flags.
@@ -178,6 +167,18 @@ PATH to C:\Dev-Cpp\bin
\li enable_model-checking : Enable the model checking when set to true.
+ \li enable_debug : If enable_debug is set to 'off' Simgrid compil flag has '-DNDEBUG' option.
+
+ \li enable_jedule : To enable jedule mode, which creates visualizations of task schedules with Simdag.
+
+ \li enable_latency_bound_tracking : Set to on if you want to be warned when communications are limited by round trip time.
+
+ \li enable_lib_static : Enable generated Simgrid and smpi static libraries.
+
+ \li enable_pcre : Use or not the pcre lib for memory optimization.
+
+ \li custom_flags : If user wants to use a specific flag during compilation, give here.
+
\li gtnets_path : Path to gtnets install directory (ex /usr)
\li CMAKE_INSTALL_PREFIX : Path where are installed lib/ doc/ and include/ directories (ex /usr/local)
@@ -191,18 +192,22 @@ Those options are initialized the first time you launch "cmake ." whithout speci
\verbatim
enable_gtnets on
enable_lua on
-enable_ruby on
-enable_java on
enable_smpi on
enable_supernovae on
enable_tracing on
enable_compile_optimizations on
+enable_debug on
+enable_pcre on
enable_compile_warnings off
enable_maintainer_mode off
enable_coverage off
enable_memcheck off
enable_model-checking off
+enable_jedule off
+enable_latency_bound_tracking off
+enable_lib_static off
CMAKE_INSTALL_PREFIX /usr/local
+custom_flags null
gtnets_path null
pipol_user null
\endverbatim
@@ -221,6 +226,13 @@ cmake -D[name]=[value] ... ./
make
\endverbatim
+On Windows
+
+\verbatim
+cmake -G"Unix Makefiles" -D[name]=[value] ... ./
+gmake
+\endverbatim
+
\subsubsection faq_cmakecompilation2 With ccmake tool.
\verbatim
@@ -302,8 +314,8 @@ For Windows:
\verbatim
cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX=C:\simgrid_install ./
-make
-make install
+gmake
+gmake install
\endverbatim
\subsubsection faq_cmakeinstall2 From a distrib