X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8f58249ee1e3d4fff121c049fc018bf6fa9555a8..a3ff2d592d10a66e48ab08baad136bd993241f11:/docs/source/Tutorial_Model-checking.rst?ds=sidebyside diff --git a/docs/source/Tutorial_Model-checking.rst b/docs/source/Tutorial_Model-checking.rst index a8bebcb141..9bf4535c63 100644 --- a/docs/source/Tutorial_Model-checking.rst +++ b/docs/source/Tutorial_Model-checking.rst @@ -52,7 +52,7 @@ on Mac OS X yet, so mac users should stick to the docker method for now. $ docker image pull simgrid/tuto-mc $ mkdir ~/tuto-mcsimgrid # or chose another directory to share between your computer and the docker container - $ docker run -it --rm --name mcsimgrid --volume ~/tuto-mcsimgrid:/source/tutorial simgrid/tuto-mc bash + $ docker run --user $UID:$GID -it --rm --name mcsimgrid --volume ~/tuto-mcsimgrid:/source/tutorial simgrid/tuto-mc bash In the container, you have access to the following directories of interest: @@ -85,7 +85,9 @@ that uses the :ref:`S4U interface ` of SimGrid, but we provide a if you prefer (see below for details on using the MPI version). .. toggle-header:: - :header: Code of ``ndet-receive-s4u.cpp``: click here to open it, or `view it online `_ + :header: Code of ``ndet-receive-s4u.cpp``: click here to open + + You can also `view it online `_ .. literalinclude:: tuto_mc/ndet-receive-s4u.cpp :language: cpp @@ -249,7 +251,9 @@ If you prefer, you can use MPI instead of the SimGrid-specific interface. Inspec translation of ``ndet-receive-s4u.cpp`` to MPI. .. toggle-header:: - :header: Code of ``ndet-receive-mpi.c``: click here to open it, or `view it online `_ + :header: Code of ``ndet-receive-mpi.c``: click here to open + + You can also `view it online `_. .. literalinclude:: tuto_mc/ndet-receive-mpi.c :language: cpp