Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Yell when there is an exception, not when there isn't
[simgrid.git] / docs / source / Tutorial_MPI_Applications.rst
index a0b5b92..19b0fcf 100644 (file)
@@ -428,7 +428,7 @@ run it again and again.
 
 This produces a file called ``Rplots.pdf`` with the following
 content. You can find more visualization examples `online
 
 This produces a file called ``Rplots.pdf`` with the following
 content. You can find more visualization examples `online
-<http://simgrid.gforge.inria.fr/contrib/R_visualization.html>`_.
+<https://simgrid.org/contrib/R_visualization.html>`_.
 
 .. image:: /tuto_smpi/img/lu.S.4.png
    :align: center
 
 .. image:: /tuto_smpi/img/lu.S.4.png
    :align: center
@@ -458,12 +458,12 @@ You can even generate the trace during the live simulation as follows:
    $ smpirun -trace-ti --cfg=tracing/filename:LU.A.32 -np 32 -platform ../cluster_backbone.xml bin/lu.A.32
 
 The produced trace is composed of a file ``LU.A.32`` and a folder
    $ smpirun -trace-ti --cfg=tracing/filename:LU.A.32 -np 32 -platform ../cluster_backbone.xml bin/lu.A.32
 
 The produced trace is composed of a file ``LU.A.32`` and a folder
-``LU.A.32_files``. You can replay this trace with SMPI thanks to ``smpirun``
-with the following command:
+``LU.A.32_files``. You can replay this trace with SMPI thanks to ``smpirun``.
+For example, the following command replays the trace on a different platform:
 
 .. code-block:: shell
 
 
 .. code-block:: shell
 
-   $ smpirun -np 32 -platform ../cluster_torus.xml -replay LU.A.32
+   $ smpirun -np 32 -platform ../cluster_crossbar.xml -hostfile ../cluster_hostfile -replay LU.A.32
 
 All the outputs are gone, as the application is not really simulated
 here. Its trace is simply replayed. But if you visualize the live
 
 All the outputs are gone, as the application is not really simulated
 here. Its trace is simply replayed. But if you visualize the live
@@ -477,8 +477,6 @@ is computationally hungry.
     The commands should be separated and executed by some CI to make sure
     the documentation is up-to-date.
 
     The commands should be separated and executed by some CI to make sure
     the documentation is up-to-date.
 
-    An hostfile should be given to smpirun.
-
 Lab 3: Execution Sampling on EP
 -------------------------------
 
 Lab 3: Execution Sampling on EP
 -------------------------------