Преглед на файлове

document the simgrid environment variables

Samuel Thibault преди 13 години
родител
ревизия
bcc603c16e
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      doc/chapters/configuration.texi

+ 7 - 0
doc/chapters/configuration.texi

@@ -304,6 +304,13 @@ Enable memory statistics (@pxref{Memory feedback}).
 @defvr {Configure option} --enable-simgrid
 @defvr {Configure option} --enable-simgrid
 Enable simulation of execution in simgrid, to allow easy experimentation with
 Enable simulation of execution in simgrid, to allow easy experimentation with
 various numbers of cores and GPUs, or amount of memory, etc. Experimental.
 various numbers of cores and GPUs, or amount of memory, etc. Experimental.
+
+The path to simgrid can be specified through the @code{SIMGRID_CFLAGS} and
+@code{SIMGRID_LIBS} environment variables, for instance:
+@example
+export SIMGRID_CFLAGS="-I/usr/local/simgrid/include"
+export SIMGRID_LIBS="-L/usr/local/simgrid/lib -lsimgrid"
+@end example
 @end defvr
 @end defvr
 
 
 @node Execution configuration through environment variables
 @node Execution configuration through environment variables