123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- @c -*-texinfo-*-
- @c This file is part of the StarPU Handbook.
- @c Copyright (C) 2009--2011 Universit@'e de Bordeaux 1
- @c Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
- @c Copyright (C) 2011 Institut National de Recherche en Informatique et Automatique
- @c See the file starpu.texi for copying conditions.
- @node Installing StarPU
- @chapter Installing StarPU
- @menu
- * Downloading StarPU::
- * Configuration of StarPU::
- * Building and Installing StarPU::
- @end menu
- StarPU can be built and installed by the standard means of the GNU
- autotools. The following chapter is intended to briefly remind how these tools
- can be used to install StarPU.
- @node Downloading StarPU
- @section Downloading StarPU
- @menu
- * Getting Sources::
- * Optional dependencies::
- @end menu
- @node Getting Sources
- @subsection Getting Sources
- The simplest way to get StarPU sources is to download the latest official
- release tarball from @indicateurl{https://gforge.inria.fr/frs/?group_id=1570} ,
- or the latest nightly snapshot from
- @indicateurl{http://starpu.gforge.inria.fr/testing/} . The following documents
- how to get the very latest version from the subversion repository itself, it
- should be needed only if you need the very latest changes (i.e. less than a
- day!)
- The source code is managed by a Subversion server hosted by the
- InriaGforge. To get the source code, you need:
- @itemize
- @item
- To install the client side of the software Subversion if it is
- not already available on your system. The software can be obtained from
- @indicateurl{http://subversion.tigris.org} . If you are running
- on Windows, you will probably prefer to use TortoiseSVN from
- @indicateurl{http://tortoisesvn.tigris.org/} .
- @item
- You can check out the project's SVN repository through anonymous
- access. This will provide you with a read access to the
- repository.
- If you need to have write access on the StarPU project, you can also choose to
- become a member of the project @code{starpu}. For this, you first need to get
- an account to the gForge server. You can then send a request to join the project
- (@indicateurl{https://gforge.inria.fr/project/request.php?group_id=1570}).
- @item
- More information on how to get a gForge account, to become a member of
- a project, or on any other related task can be obtained from the
- InriaGforge at @indicateurl{https://gforge.inria.fr/}. The most important
- thing is to upload your public SSH key on the gForge server (see the
- FAQ at @indicateurl{http://siteadmin.gforge.inria.fr/FAQ.html#Q6} for
- instructions).
- @end itemize
- You can now check out the latest version from the Subversion server:
- @itemize
- @item
- using the anonymous access via svn:
- @example
- % svn checkout svn://scm.gforge.inria.fr/svn/starpu/trunk
- @end example
- @item
- using the anonymous access via https:
- @example
- % svn checkout --username anonsvn https://scm.gforge.inria.fr/svn/starpu/trunk
- @end example
- The password is @code{anonsvn}.
- @item
- using your gForge account
- @example
- % svn checkout svn+ssh://<login>@@scm.gforge.inria.fr/svn/starpu/trunk
- @end example
- @end itemize
- The following step requires the availability of @code{autoconf} and
- @code{automake} to generate the @code{./configure} script. This is
- done by calling @code{./autogen.sh}. The required version for
- @code{autoconf} is 2.60 or higher. You will also need @code{makeinfo}.
- @example
- % ./autogen.sh
- @end example
- If the autotools are not available on your machine or not recent
- enough, you can choose to download the latest nightly tarball, which
- is provided with a @code{configure} script.
- @example
- % wget http://starpu.gforge.inria.fr/testing/starpu-nightly-latest.tar.gz
- @end example
- @node Optional dependencies
- @subsection Optional dependencies
- The topology discovery library, @code{hwloc}, is not mandatory to use StarPU
- but strongly recommended. It allows to increase performance, and to
- perform some topology aware scheduling.
- @code{hwloc} is available in major distributions and for most OSes and can be
- downloaded from @indicateurl{http://www.open-mpi.org/software/hwloc}.
- @node Configuration of StarPU
- @section Configuration of StarPU
- @menu
- * Generating Makefiles and configuration scripts::
- * Running the configuration::
- @end menu
- @node Generating Makefiles and configuration scripts
- @subsection Generating Makefiles and configuration scripts
- This step is not necessary when using the tarball releases of StarPU. If you
- are using the source code from the svn repository, you first need to generate
- the configure scripts and the Makefiles.
- @example
- % ./autogen.sh
- @end example
- @node Running the configuration
- @subsection Running the configuration
- @example
- % ./configure
- @end example
- Details about options that are useful to give to @code{./configure} are given in
- @ref{Compilation configuration}.
- @node Building and Installing StarPU
- @section Building and Installing StarPU
- @menu
- * Building::
- * Sanity Checks::
- * Installing::
- @end menu
- @node Building
- @subsection Building
- @example
- % make
- @end example
- @node Sanity Checks
- @subsection Sanity Checks
- In order to make sure that StarPU is working properly on the system, it is also
- possible to run a test suite.
- @example
- % make check
- @end example
- @node Installing
- @subsection Installing
- In order to install StarPU at the location that was specified during
- configuration:
- @example
- % make install
- @end example
|