X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bcaa68172b1610111c352c8b3594b42354f0e8f4..7f4f03348bd07609e258eb3b545bdafc2c881847:/doc/doxygen/module-smpi.doc diff --git a/doc/doxygen/module-smpi.doc b/doc/doxygen/module-smpi.doc index 34ef494467..65b0f29d5c 100644 --- a/doc/doxygen/module-smpi.doc +++ b/doc/doxygen/module-smpi.doc @@ -69,14 +69,14 @@ solution called AMPI that suffers of the same issue). A method using dynamic switching of the .data and .bss segments of an ELF executable has been introduced in SimGrid 3.11. By using the smpi/ -privati_global_variableles option to yes, SMPI will duplicate +privatize_global_variableles option to yes, SMPI will duplicate the segments containing the global variables and when needed, will map -the right one in memory. This needs ELF executbles and mmap on the system -(Linux and recent BSDs should be compatible). As no copy is involved, +the right one in memory. This needs ELF executables and mmap on the system +(Linux and recent BSDs should be compatible). %As no copy is involved, performance should not be altered (but memory occupation will be higher). This solution actually works really good for a good number of MPI -application. Its main limitation is that if the application loads dynamic +applications. Its main limitation is that if the application loads dynamic libraries, their global variables won't be privatized. This can be avoided by linking statically with these libraries (but NOT with libsimgrid, as we need SimGrid's own global varibles). @@ -502,7 +502,7 @@ Example: adding a "pair" version of the Alltoall collective. - To register the new version of the algorithm, simply add a line to the corresponding macro in src/smpi/colls/cools.h ( add a "COLL_APPLY(action, COLL_ALLTOALL_SIG, pair)" to the COLL_ALLTOALLS macro ). The algorithm should now be compiled and be selected when using --cfg=smpi/alltoall:pair at runtime. - - To add a test for the algorithm inside Simgrid's test suite, juste add the new algorithm name in the ALLTOALL_COLL list found inside buildtools/cmake/AddTests.cmake . When running ctest, a test for the new algorithm should be generated and executed. If it does not pass, please check your code or contact us. + - To add a test for the algorithm inside Simgrid's test suite, juste add the new algorithm name in the ALLTOALL_COLL list found inside buildtools/cmake/Tests.cmake . When running ctest, a test for the new algorithm should be generated and executed. If it does not pass, please check your code or contact us. - Feel free to push this new algorithm to the SMPI repository using Git.