README 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2013, 2014 CNRS
  4. #
  5. # StarPU is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or (at
  8. # your option) any later version.
  9. #
  10. # StarPU is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. The makefile in this directory should be used to test the compilation and execution of StarPU examples against an installed version of StarPU.
  16. For example, if StarPU is installed in
  17. $HOME/softs/starpu-1.1
  18. and the examples to be tested in
  19. $HOME/src/starpu/trunk/examples
  20. one first need to set the following variables
  21. export STARPU_PATH=$HOME/softs/starpu-1.1
  22. export PKG_CONFIG_PATH=$STARPU_PATH/lib/pkgconfig/:$PKG_CONFIG_PATH
  23. export LD_LIBRARY_PATH=$STARPU_PATH/lib:$LD_LIBRARY_PATH
  24. and then call
  25. make STARPU=starpu-1.1 EXAMPLE=$HOME/src/starpu/trunk/examples
  26. to produce the executables.
  27. Examples using an old StarPU API can also be tested, for example the branch 1.0
  28. make STARPU=starpu-1.0 EXAMPLE=$HOME/src/starpu/branches/starpu-1.0/examples/
  29. Note the variable STARPU is set to starpu-1.0 to use the 1.0 API.