Przeglądaj źródła

document the simgrid environment variables

Samuel Thibault 13 lat temu
rodzic
commit
bcc603c16e
1 zmienionych plików z 7 dodań i 0 usunięć
  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