README 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2009-2012 Université de Bordeaux 1
  4. # Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. ++=================++
  17. || I. Introduction ||
  18. ++=================++
  19. +---------------------
  20. | I.a. What is StarPU?
  21. StarPU is a runtime system that offers support for heterogeneous multicore
  22. machines. While many efforts are devoted to design efficient computation kernels
  23. for those architectures (e.g. to implement BLAS kernels on GPUs or on Cell's
  24. SPUs), StarPU not only takes care of offloading such kernels (and implementing
  25. data coherency across the machine), but it also makes sure the kernels are
  26. executed as efficiently as possible.
  27. +------------------------
  28. | I.b. What StarPU is not
  29. StarPU is not a new language, and it does not extends existing languages either.
  30. StarPU does not help to write computation kernels.
  31. +---------------------------------
  32. | I.c. (How) Could StarPU help me?
  33. While StarPU will not make it easier to write computation kernels, it does
  34. simplify their actual offloading as StarPU handle most low level aspects
  35. transparently.
  36. Obviously, it is crucial to have efficient kernels, but it must be noted that
  37. the way those kernels are mapped and scheduled onto the computational resources
  38. also affect the overall performance to a great extent.
  39. StarPU is especially helpful when considering multiple heterogeneous processing
  40. resources: statically mapping and synchronizing tasks in such a heterogeneous
  41. environment is already very difficult, making it in a portable way is virtually
  42. impossible. On the other hand, the scheduling capabilities of StarPU makes it
  43. possible to easily exploit all processors at the same time while taking
  44. advantage of their specificities in a portable fashion.
  45. ++==================++
  46. || II. Requirements ||
  47. ++==================++
  48. * make
  49. * gcc (version >= 4.1)
  50. * if CUDA support is enabled
  51. * CUDA (version >= 2.2)
  52. * CUBLAS (version >= 2.2)
  53. * if OpenCL support is enabled
  54. * AMD SDK >= 2.3 if AMD driver is used
  55. * CUDA >= 3.2 if NVIDIA driver is used
  56. * extra requirements for the svn version (we usually use the Debian testing
  57. versions)
  58. * autoconf (version >= 2.60)
  59. * automake
  60. * makeinfo
  61. * libtool (version >= 2)
  62. * Remark: It is strongly recommanded that you also install the hwloc library
  63. before installing StarPU. This permits StarPU to actually map the processing
  64. units according to the machine topology. For more details on hwloc, see
  65. http://www.open-mpi.org/projects/hwloc/ .
  66. * To build the StarPU-Top tool the following are also required:
  67. * libqt4 >= 4.7
  68. * libqt4-network
  69. * libqt4-opengl
  70. * libqt4-sql
  71. ++=====================++
  72. || III. Getting StarPU ||
  73. ++=====================++
  74. StarPU is available on https://gforge.inria.fr/projects/starpu/.
  75. The project's SVN repository can be checked out through anonymous
  76. access with the following command(s).
  77. $ svn checkout svn://scm.gforge.inria.fr/svn/starpu/trunk
  78. $ svn checkout --username anonsvn https://scm.gforge.inria.fr/svn/starpu/trunk
  79. The password is 'anonsvn'
  80. ++=============================++
  81. || IV. Building and Installing ||
  82. ++=============================++
  83. +---------------------------
  84. | IV.a. For svn version only
  85. $ ./autogen.sh
  86. +-----------------------
  87. | IV.b. For all versions
  88. $ ./configure
  89. $ make
  90. $ make install
  91. +---------------------
  92. | IV.c. Windows build:
  93. StarPU can be built using MinGW or Cygwin. To avoid the cygwin dependency,
  94. we provide MinGW-built binaries. The build process produces libstarpu.dll,
  95. libstarpu.def, and libstarpu.lib, which should be enough to use it from e.g.
  96. Microsoft Visual Studio.
  97. Update the video drivers to the latest stable release available for your
  98. hardware. Old ATI drivers (< 2.3) contain bugs that cause OpenCL support in
  99. StarPU to hang or exhibit incorrect behaviour.
  100. For details on the Windows build process, see the INSTALL file.
  101. ++==================++
  102. || V. Documentation ||
  103. ++==================++
  104. Texinfo documentation is available in doc/ . If LaTeX is available on the
  105. machine, a pdf can be generated by running
  106. $ make -C doc pdf
  107. If makeinfo is available on the machine, html pages can be generated by running
  108. $ make -C doc html
  109. ++============++
  110. || VI. Trying ||
  111. ++============++
  112. Some examples ready to run are installed into $prefix/lib/starpu/{examples,mpi}
  113. ++==============++
  114. || VII. Upgrade ||
  115. ++==============++
  116. To upgrade your source code from older version (there were quite a few
  117. renamings), use the tools/dev/rename.sh script
  118. ++===============++
  119. || VIII. Contact ||
  120. ++===============++
  121. For any questions regarding StarPU, please contact the starpu-devel
  122. mailing-list at starpu-devel@lists.gforge.inria.fr .