Pārlūkot izejas kodu

document MPI simgrid mode

Samuel Thibault 10 gadi atpakaļ
vecāks
revīzija
8c1643ff92
2 mainītis faili ar 15 papildinājumiem un 0 dzēšanām
  1. 14 0
      doc/doxygen/chapters/21simgrid.doxy
  2. 1 0
      tools/Makefile.am

+ 14 - 0
doc/doxygen/chapters/21simgrid.doxy

@@ -121,6 +121,20 @@ case. Since during simgrid execution, the functions of the codelet are actually
 not called, one can use dummy functions such as the following to still permit
 not called, one can use dummy functions such as the following to still permit
 CUDA or OpenCL execution:
 CUDA or OpenCL execution:
 
 
+\section MPI applications
+
+StarPU-MPI applications can also be run in simgrid mode. It needs to be compiled
+with smpicc, and run using the starpu_smpirun script, for instance:
+
+\verbatim
+$ STARPU_SCHED=dmda starpu_smpirun -platform cluster.xml -hostfile hostfile ./mpi/tests/pingpong
+\endverbatim
+
+Where cluster.xml is a Simgrid-MPI platform description, and hostfile the
+list of MPI nodes to be used. StarPU currently only supports homogeneous MPI
+clusters: for each MPI node it will just replicate the architecture referred by
+\ref STARPU_HOSTNAME.
+
 \section Debugging applications
 \section Debugging applications
 
 
 By default, simgrid uses its own implementation of threads, which prevents gdb
 By default, simgrid uses its own implementation of threads, which prevents gdb

+ 1 - 0
tools/Makefile.am

@@ -247,6 +247,7 @@ endif
 
 
 if STARPU_SIMGRID
 if STARPU_SIMGRID
 dist_pkgdata_DATA = starpu_smpi.xslt
 dist_pkgdata_DATA = starpu_smpi.xslt
+dist_bin_SCRIPTS += starpu_smpirun
 endif
 endif
 
 
 showcheck:
 showcheck: