+ .. group-tab:: C++
+
+ To take the tutorial on your machine, you first need to :ref:`install
+ a recent version of SimGrid <install>`, a C++ compiler, and also
+ ``pajeng`` to visualize the traces. You may want to install `Vite
+ <http://vite.gforge.inria.fr/>`_ to get a first glance at the traces.
+ The provided code template requires CMake to compile. On Debian and
+ Ubuntu for example, you can get them as follows:
+
+ .. code-block:: console
+
+ $ sudo apt install simgrid pajeng cmake g++ vite
+
+ An initial version of the source code is provided on framagit. This
+ template compiles with CMake. If SimGrid is correctly installed, you
+ should be able to clone the `repository
+ <https://framagit.org/simgrid/simgrid-template-s4u>`_ and recompile
+ everything as follows:
+
+ .. code-block:: console
+
+ # (exporting SimGrid_PATH is only needed if SimGrid is installed in a non-standard path)
+ $ export SimGrid_PATH=/where/to/simgrid
+
+ $ git clone https://framagit.org/simgrid/simgrid-template-s4u.git
+ $ cd simgrid-template-s4u/
+ $ cmake .
+ $ make
+
+ If you struggle with the compilation, then you should double-check
+ your :ref:`SimGrid installation <install>`. On need, please refer to
+ the :ref:`Troubleshooting your Project Setup
+ <install_yours_troubleshooting>` section.
+
+ .. group-tab:: Python
+
+ To take the tutorial on your machine, you first need to :ref:`install
+ a recent version of SimGrid <install>` and ``pajeng`` to visualize the
+ traces. You may want to install `Vite <http://vite.gforge.inria.fr/>`_ to get a first glance at the traces.
+ On Debian and Ubuntu for example, you can get them as follows:
+
+ .. code-block:: console
+
+ $ sudo apt install simgrid pajeng vite
+
+ An initial version of the source code is provided on framagit.
+ If SimGrid is correctly installed, you should be able to clone the `repository
+ <https://framagit.org/simgrid/simgrid-template-s4u>`_ and execute it as follows:
+
+ .. code-block:: console
+
+ $ git clone https://framagit.org/simgrid/simgrid-template-s4u.git
+ $ cd simgrid-template-s4u/
+ $ python master-workers.py small_platform.xml master-workers_d.xml
+
+ If you get some errors, then you should double-check
+ your :ref:`SimGrid installation <install>`. On need, please refer to
+ the :ref:`Troubleshooting your Project Setup <install_yours_troubleshooting>` section.