X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/720f647c25385f8ab4a520f6084d065affa9b554..cf8f96bba46e681c5b823ced6c4cb2e857c39899:/docs/source/Tutorial_Algorithms.rst diff --git a/docs/source/Tutorial_Algorithms.rst b/docs/source/Tutorial_Algorithms.rst index e12657f691..bff4f27cc5 100644 --- a/docs/source/Tutorial_Algorithms.rst +++ b/docs/source/Tutorial_Algorithms.rst @@ -346,7 +346,7 @@ Debian and Ubuntu for example, you can get them as follows: sudo apt install simgrid pajeng cmake g++ vite For R analysis of the produced traces, you may want to install R, -and the `pajengr_ package. +and the `pajengr`_ package. .. code-block:: shell @@ -364,7 +364,7 @@ everything as follows: # (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.git + git clone https://framagit.org/simgrid/simgrid-template-s4u.git cd simgrid-template-s4u/ cmake . make @@ -461,7 +461,7 @@ messages to all workers based on their number, for example as follows: for (int i = 0; i < tasks_count; i++) { std::string worker_rank = std::to_string(i % workers_count); std::string mailbox_name = std::string("worker-") + worker_rank; - simgrid::s4u::MailboxPtr mailbox = simgrid::s4u::Mailbox::by_name(mailbox_name); + simgrid::s4u::Mailbox* mailbox = simgrid::s4u::Mailbox::by_name(mailbox_name); mailbox->put(...);