X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d12368e5b9db4863e721dd4f9ed40574b9860da6..895710d49f77179d9893bc76b3e31b69fae638af:/doc/doxygen/module-smpi.doc?ds=sidebyside diff --git a/doc/doxygen/module-smpi.doc b/doc/doxygen/module-smpi.doc index 06d67b6153..ede94c177d 100644 --- a/doc/doxygen/module-smpi.doc +++ b/doc/doxygen/module-smpi.doc @@ -4,8 +4,6 @@ @tableofcontents -[TOC] - SMPI enables the study of MPI application by emulating them on top of the SimGrid simulator. This is particularly interesting to study existing MPI applications within the comfort of the simulator. The @@ -34,6 +32,7 @@ requires some specific care from you. - @ref SMPI_use - @ref SMPI_use_compile - @ref SMPI_use_exec + - @ref SMPI_use_debug - @ref SMPI_use_colls - @ref SMPI_use_colls_algos - @ref SMPI_use_colls_tracing @@ -45,7 +44,9 @@ requires some specific care from you. - @ref SMPI_adapting_speed - @ref SMPI_accuracy - @ref SMPI_troubleshooting - - @ref SMPI_trouble_buildchain + - @ref SMPI_trouble_configure_refuses_smpicc + - @ref SMPI_trouble_configure_dont_find_smpicc + - @ref SMPI_trouble_useconds_t @section SMPI_use Using SMPI @@ -87,6 +88,21 @@ by running smpirun -help @endverbatim +@subsection SMPI_use_debug Debugging your code on top of SMPI + +If you want to explore the automatic platform and deployment files +that are generated by @c smpirun, add @c -keep-temps to the command +line. + +You can also run your simulation within valgrind or gdb using the +following commands. Once in GDB, each MPI ranks will be represented as +a regular thread, and you can explore the state of each of them as +usual. +@verbatim +smpirun -wrapper valgrind ...other args... +smpirun -wrapper "gdb --args" --cfg=contexts/factory:thread ...other args... +@endverbatim + @subsection SMPI_use_colls Simulating collective operations MPI collective operations are crucial to the performance of MPI @@ -150,7 +166,7 @@ Most of these are best described in