Browse Source

advise people to put starpu tools in their PATH

Samuel Thibault 6 years ago
parent
commit
96a915f540
2 changed files with 12 additions and 3 deletions
  1. 8 2
      doc/doxygen/chapters/101_building.doxy
  2. 4 1
      doc/tutorial/README

+ 8 - 2
doc/doxygen/chapters/101_building.doxy

@@ -174,7 +174,7 @@ example if StarPU was installed in
 <c>$STARPU_PATH</c>:
 
 \verbatim
-$ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$STARPU_PATH/lib/pkgconfig
+$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$STARPU_PATH/lib/pkgconfig
 \endverbatim
 
 The flags required to compile or link against StarPU are then
@@ -203,7 +203,13 @@ It is also necessary to set the environment variable <c>LD_LIBRARY_PATH</c> to
 locate dynamic libraries at runtime.
 
 \verbatim
-$ LD_LIBRARY_PATH=$STARPU_PATH/lib:$LD_LIBRARY_PATH
+$ export LD_LIBRARY_PATH=$STARPU_PATH/lib:$LD_LIBRARY_PATH
+\endverbatim
+
+And it is useful to get access to the StarPU tools:
+
+\verbatim
+$ PATH=$PATH:$STARPU_PATH/bin
 \endverbatim
 
 When using a Makefile, the following lines can be added to set the

+ 4 - 1
doc/tutorial/README

@@ -1,7 +1,7 @@
 #
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2009-2011                                 Université de Bordeaux
+# Copyright (C) 2009-2011,2019                            Université de Bordeaux
 # Copyright (C) 2010, 2011, 2013, 2019                    CNRS
 #
 # StarPU is free software; you can redistribute it and/or modify
@@ -19,9 +19,12 @@ Instructions on how to compile and run StarPU examples
 ------------------------------------------------------
 
 % export STARPU_DIR=<directory where StarPU is installed>
+% export PATH=$PATH:$STARPU_DIR/bin
 % export PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
 % export LD_LIBRARY_PATH=$STARPU_DIR/lib:$LD_LIBRARY_PATH
 
+% starpu_machine_display
+
 % make hello_world
 % ./hello_world