瀏覽代碼

doc: fix formatting

Nathalie Furmento 12 年之前
父節點
當前提交
b7b42f2bca

+ 8 - 8
doc/chapters/basic-examples.texi

@@ -264,9 +264,9 @@ disabled thanks to @code{starpu_data_set_default_sequential_consistency_flag} or
 @subsubsection Execution of Hello World
 
 @smallexample
-% make hello_world
+$ make hello_world
 cc $(pkg-config --cflags starpu-1.0)  $(pkg-config --libs starpu-1.0) hello_world.c -o hello_world
-% ./hello_world
+$ ./hello_world
 Hello world (params = @{1, 2.000000@} )
 Callback function (arg 42)
 @end smallexample
@@ -662,9 +662,9 @@ constant factor from this pointer.
 @subsection Execution of Vector Scaling
 
 @smallexample
-% make vector_scal
+$ make vector_scal
 cc $(pkg-config --cflags starpu-1.0)  $(pkg-config --libs starpu-1.0)  vector_scal.c   -o vector_scal
-% ./vector_scal
+$ ./vector_scal
 0.000000 3.000000 6.000000 9.000000 12.000000
 @end smallexample
 
@@ -928,20 +928,20 @@ clean:
 @end cartouche
 
 @smallexample
-% make
+$ make
 @end smallexample
 
 and to execute it, with the default configuration:
 
 @smallexample
-% ./vector_scal
+$ ./vector_scal
 0.000000 3.000000 6.000000 9.000000 12.000000
 @end smallexample
 
 or for example, by disabling CPU devices:
 
 @smallexample
-% STARPU_NCPU=0 ./vector_scal
+$ STARPU_NCPU=0 ./vector_scal
 0.000000 3.000000 6.000000 9.000000 12.000000
 @end smallexample
 
@@ -949,6 +949,6 @@ or by disabling CUDA devices (which may permit to enable the use of OpenCL,
 see @ref{Enabling OpenCL}):
 
 @smallexample
-% STARPU_NCUDA=0 ./vector_scal
+$ STARPU_NCUDA=0 ./vector_scal
 0.000000 3.000000 6.000000 9.000000 12.000000
 @end smallexample

+ 2 - 2
doc/chapters/configuration.texi

@@ -2,7 +2,7 @@
 
 @c This file is part of the StarPU Handbook.
 @c Copyright (C) 2009--2011  Universit@'e de Bordeaux 1
-@c Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
+@c Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
 @c Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
 @c See the file starpu.texi for copying conditions.
 
@@ -44,7 +44,7 @@ at runtime by setting the environment variable @code{STARPU_SILENT} to
 any value.
 
 @smallexample
-% STARPU_SILENT=1 ./vector_scal
+$ STARPU_SILENT=1 ./vector_scal
 @end smallexample
 @end defvr
 

+ 3 - 3
doc/chapters/fft-support.texi

@@ -2,7 +2,7 @@
 
 @c This file is part of the StarPU Handbook.
 @c Copyright (C) 2009--2011  Universit@'e de Bordeaux 1
-@c Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
+@c Copyright (C) 2010, 2011, 2012, 2013  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.
 
@@ -48,8 +48,8 @@ The flags required to compile or link against the FFT library are accessible
 with the following commands:
 
 @example
-% pkg-config --cflags starpufft-1.0  # options for the compiler
-% pkg-config --libs starpufft-1.0    # options for the linker
+$ pkg-config --cflags starpufft-1.0  # options for the compiler
+$ pkg-config --libs starpufft-1.0    # options for the linker
 @end example
 
 Also pass the @code{--static} option if the application is to be linked statically.

+ 9 - 9
doc/chapters/installing.texi

@@ -42,7 +42,7 @@ directly from the @url{http://runtime.bordeaux.inria.fr/StarPU/files/,StarPU dow
 The latest nightly snapshot can be downloaded from the @url{http://starpu.gforge.inria.fr/testing/,StarPU gforge website}.
 
 @example
-% wget http://starpu.gforge.inria.fr/testing/starpu-nightly-latest.tar.gz
+$ wget http://starpu.gforge.inria.fr/testing/starpu-nightly-latest.tar.gz
 @end example
 
 And finally, current development version is also accessible via svn.
@@ -89,14 +89,14 @@ the configure scripts and the Makefiles. This requires the
 availability of @code{autoconf}, @code{automake} >= 2.60, and @code{makeinfo}.
 
 @example
-% ./autogen.sh
+$ ./autogen.sh
 @end example
 
 @node Running the configuration
 @subsection Running the configuration
 
 @example
-% ./configure
+$ ./configure
 @end example
 
 Details about options that are useful to give to @code{./configure} are given in
@@ -111,9 +111,9 @@ where you want the compilation to produce its files, and invoke the
 configure script located in the StarPU source directory.
 
 @example
-% mkdir build
-% cd build
-% ../configure
+$ mkdir build
+$ cd build
+$ ../configure
 @end example
 
 @node Building and Installing StarPU
@@ -129,7 +129,7 @@ configure script located in the StarPU source directory.
 @subsection Building
 
 @example
-% make
+$ make
 @end example
 
 @node Sanity Checks
@@ -142,7 +142,7 @@ and the result from the main profile is publicly
 @url{http://starpu.gforge.inria.fr/testing/,available}.
 
 @example
-% make check
+$ make check
 @end example
 
 @node Installing
@@ -152,7 +152,7 @@ In order to install StarPU at the location that was specified during
 configuration:
 
 @example
-% make install
+$ make install
 @end example
 
 Libtool interface versioning information are included in

+ 2 - 2
doc/chapters/mpi-support.texi

@@ -33,8 +33,8 @@ The flags required to compile or link against the MPI layer are then
 accessible with the following commands:
 
 @example
-% pkg-config --cflags starpumpi-1.0  # options for the compiler
-% pkg-config --libs starpumpi-1.0    # options for the linker
+$ pkg-config --cflags starpumpi-1.0  # options for the compiler
+$ pkg-config --libs starpumpi-1.0    # options for the linker
 @end example
 
 Also pass the @code{--static} option if the application is to be linked statically.

+ 8 - 9
doc/chapters/using.texi

@@ -26,7 +26,7 @@ that @code{pkg-config} can find it. For example if StarPU was installed in
 @code{$prefix_dir}:
 
 @example
-% PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$prefix_dir/lib/pkgconfig
+$ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$prefix_dir/lib/pkgconfig
 @end example
 
 The flags required to compile or link against StarPU are then
@@ -36,8 +36,8 @@ with the @code{libstarpu} package. Similar packages are provided for
 @code{libstarpumpi} and @code{libstarpufft}.}:
 
 @example
-% pkg-config --cflags starpu-1.0  # options for the compiler
-% pkg-config --libs starpu-1.0    # options for the linker
+$ pkg-config --cflags starpu-1.0  # options for the compiler
+$ pkg-config --libs starpu-1.0    # options for the linker
 @end example
 
 Make sure that @code{pkg-config --libs starpu-1.0} actually produces some output
@@ -51,7 +51,7 @@ It is also necessary to set the variable @code{LD_LIBRARY_PATH} to
 locate dynamic libraries at runtime.
 
 @example
-% LD_LIBRARY_PATH=$prefix_dir/lib:$LD_LIBRARY_PATH
+$ LD_LIBRARY_PATH=$prefix_dir/lib:$LD_LIBRARY_PATH
 @end example
 
 When using a Makefile, the following lines can be added to set the
@@ -73,10 +73,9 @@ Basic examples using StarPU are built in the directory
 @code{vector_scal}.
 
 @example
-% ./examples/basic_examples/vector_scal
+$ ./examples/basic_examples/vector_scal
 BEFORE: First element was 1.000000
 AFTER: First element is 3.140000
-%
 @end example
 
 When StarPU is used for the first time, the directory
@@ -115,13 +114,13 @@ between them.
 To enable OpenCL, you need either to disable CUDA when configuring StarPU:
 
 @example
-% ./configure --disable-cuda
+$ ./configure --disable-cuda
 @end example
 
 or when running applications:
 
 @example
-% STARPU_NCUDA=0 ./application
+$ STARPU_NCUDA=0 ./application
 @end example
 
 OpenCL will automatically be started on any device not yet used by
@@ -130,5 +129,5 @@ enable CUDA on 2 devices, and OpenCL on the 2 other devices by doing
 so:
 
 @example
-% STARPU_NCUDA=2 ./application
+$ STARPU_NCUDA=2 ./application
 @end example