浏览代码

document the simgrid environment variables

Samuel Thibault 12 年之前
父节点
当前提交
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