installing.texi 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. @c -*-texinfo-*-
  2. @c This file is part of the StarPU Handbook.
  3. @c Copyright (C) 2009--2011 Universit@'e de Bordeaux 1
  4. @c Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
  5. @c Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
  6. @c See the file starpu.texi for copying conditions.
  7. @menu
  8. * Downloading StarPU::
  9. * Configuration of StarPU::
  10. * Building and Installing StarPU::
  11. @end menu
  12. StarPU can be built and installed by the standard means of the GNU
  13. autotools. The following chapter is intended to briefly remind how these tools
  14. can be used to install StarPU.
  15. @node Downloading StarPU
  16. @section Downloading StarPU
  17. @menu
  18. * Getting Sources::
  19. * Optional dependencies::
  20. @end menu
  21. @node Getting Sources
  22. @subsection Getting Sources
  23. The latest official release tarballs of StarPU sources are available
  24. for download from
  25. @indicateurl{https://gforge.inria.fr/frs/?group_id=1570}.
  26. The latest nightly development snapshot is available from
  27. @indicateurl{http://starpu.gforge.inria.fr/testing/}.
  28. @example
  29. % wget http://starpu.gforge.inria.fr/testing/starpu-nightly-latest.tar.gz
  30. @end example
  31. Additionally, the code can be directly checked out of Subversion, it
  32. should be done only if you need the very latest changes (i.e. less
  33. than a day!).@footnote{The client side of the software Subversion can
  34. be obtained from @indicateurl{http://subversion.tigris.org}. If you
  35. are running on Windows, you will probably prefer to use
  36. @url{http://tortoisesvn.tigris.org/, TortoiseSVN}.}.
  37. @example
  38. % svn checkout svn://scm.gforge.inria.fr/svn/starpu/trunk
  39. @end example
  40. @node Optional dependencies
  41. @subsection Optional dependencies
  42. The @url{http://www.open-mpi.org/software/hwloc, @code{hwloc} topology
  43. discovery library} is not mandatory to use StarPU but strongly
  44. recommended. It allows for topology aware scheduling, which improves
  45. performance. @code{hwloc} is available in major free operating system
  46. distributions, and for most operating systems.
  47. @node Configuration of StarPU
  48. @section Configuration of StarPU
  49. @menu
  50. * Generating Makefiles and configuration scripts::
  51. * Running the configuration::
  52. @end menu
  53. @node Generating Makefiles and configuration scripts
  54. @subsection Generating Makefiles and configuration scripts
  55. This step is not necessary when using the tarball releases of StarPU. If you
  56. are using the source code from the svn repository, you first need to generate
  57. the configure scripts and the Makefiles. This requires the
  58. availability of @code{autoconf}, @code{automake} >= 2.60, and @code{makeinfo}.
  59. @example
  60. % ./autogen.sh
  61. @end example
  62. @node Running the configuration
  63. @subsection Running the configuration
  64. @example
  65. % ./configure
  66. @end example
  67. Details about options that are useful to give to @code{./configure} are given in
  68. @ref{Compilation configuration}.
  69. @node Building and Installing StarPU
  70. @section Building and Installing StarPU
  71. @menu
  72. * Building::
  73. * Sanity Checks::
  74. * Installing::
  75. @end menu
  76. @node Building
  77. @subsection Building
  78. @example
  79. % make
  80. @end example
  81. @node Sanity Checks
  82. @subsection Sanity Checks
  83. In order to make sure that StarPU is working properly on the system, it is also
  84. possible to run a test suite.
  85. @example
  86. % make check
  87. @end example
  88. @node Installing
  89. @subsection Installing
  90. In order to install StarPU at the location that was specified during
  91. configuration:
  92. @example
  93. % make install
  94. @end example
  95. Libtool interface versioning information are included in
  96. libraries names (libstarpu-1.0.so, libstarpumpi-1.0.so and
  97. libstarpufft-1.0.so).