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
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
............................