X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8be89720f55b4ceeb2877531ae1602cc7ed947d6..414839787a24ee470f3124f95659a5f6569a2cd5:/docs/source/app_smpi.rst diff --git a/docs/source/app_smpi.rst b/docs/source/app_smpi.rst index a168562f74..84bb4fc09d 100644 --- a/docs/source/app_smpi.rst +++ b/docs/source/app_smpi.rst @@ -618,7 +618,9 @@ Mixing S4U and MPI simulation Mixing both interfaces is very easy. This can be useful to easily implement a service in S4U that is provided by your infrastructure in some way, and test how your MPI application interacts with this service. Or you can use it to start more than -one MPI application in your simulation, and study their interactions. +one MPI application in your simulation, and study their interactions. For that, you just need to use +:cpp:ref:`SMPI_app_instance_register` in a regular S4U program, as shown in the example below. Compile it as usual (with gcc or +g++, **not** smpicc) and execute it directly (**not** with smpirun). .. doxygenfunction:: SMPI_app_instance_start