Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
docs: fix broken links
[simgrid.git] / docs / source / tuto_s4u.rst
index 5fc672c..a4f659a 100644 (file)
@@ -125,7 +125,7 @@ this task and waits for the next one.
 
 The worker retrieves its own host with
 :cpp:func:`simgrid::s4u::this_actor::get_host`. The
-:ref:`simgrid::s4u::this_actor <namespace_simgrid__s4u__this_actor>`
+:ref:`simgrid::s4u::this_actor <API_s4u_this_actor>`
 namespace contains many such helping functions.
 
 .. literalinclude:: ../../examples/s4u/app-masterworkers/s4u-app-masterworkers-fun.cpp
@@ -143,7 +143,7 @@ That being said, an algorithm alone is not enough to define a
 simulation: SimGrid is a library, not a program. So you need to define
 your own ``main()`` function as follows. This function is in charge of
 creating a SimGrid simulation engine (on line 3), register the actor
-functions to the engine (on lines 7 and 8), load the virtual platform
+functions to the engine (on lines 7 and 8), load the simulated platform
 from its description file (on line 11), map actors onto that platform
 (on line 12) and run the simulation until its completion on line 15.
 
@@ -159,7 +159,7 @@ file.
 Platform File
 .............
 
-Platform files define the virtual platform on which the provided
+Platform files define the simulated platform on which the provided
 application will take place. In contains one or several **Network
 Zone** |api_s4u_NetZone|_ that contain both |Host|_ and |Link|_
 Resources, as well as routing information.
@@ -320,14 +320,16 @@ All needed dependencies are already installed in this container
 optional in this tutorial, it is not installed to reduce the image
 size.
 
-The code template is available under ``/source/simgrid-template-s4u`` in
-the image. You should copy it to your working directory when you first
-log in:
+The code template is available under ``/source/simgrid-template-s4u.git`` 
+in the image. You should copy it to your working directory and
+recompile it when you first log in: 
 
 .. code-block:: shell
 
-   cp -r /source/simgrid-template-s4u/* /source/tutorial
+   cp -r /source/simgrid-template-s4u.git/* /source/tutorial
    cd /source/tutorial
+   cmake .
+   make
 
 Using your Computer Natively
 ............................
@@ -366,7 +368,6 @@ Discovering the Provided Code
 
 Please compile and execute the provided simulator as follows:
 
-
 .. code-block:: shell
 
    make master-workers