README 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2013-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  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. #
  16. The makefile in this directory should be used to test the compilation and execution of StarPU examples against an installed version of StarPU.
  17. For example, if StarPU is installed in
  18. $HOME/softs/starpu-1.1
  19. and the examples to be tested in
  20. $HOME/src/starpu/trunk/examples
  21. one first need to set the following variables
  22. export STARPU_PATH=$HOME/softs/starpu-1.1
  23. export PKG_CONFIG_PATH=$STARPU_PATH/lib/pkgconfig/:$PKG_CONFIG_PATH
  24. export LD_LIBRARY_PATH=$STARPU_PATH/lib:$LD_LIBRARY_PATH
  25. and then call
  26. make STARPU=starpu-1.1 EXAMPLE=$HOME/src/starpu/trunk/examples
  27. to produce the executables.
  28. Examples using an old StarPU API can also be tested, for example the branch 1.0
  29. make STARPU=starpu-1.0 EXAMPLE=$HOME/src/starpu/branches/starpu-1.0/examples/
  30. Note the variable STARPU is set to starpu-1.0 to use the 1.0 API.