From 282eecc3523f0034fb8cae029f4d55e9077f28b2 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 3 Feb 2022 11:02:55 +0100 Subject: [PATCH] add a word in the doc about deploying multiple processes per node in a single line of the hostfile --- docs/source/app_smpi.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/app_smpi.rst b/docs/source/app_smpi.rst index ec722463db..01bc627a14 100644 --- a/docs/source/app_smpi.rst +++ b/docs/source/app_smpi.rst @@ -90,7 +90,9 @@ Use the ``smpirun`` script as follows: - ``my_hostfile.txt`` is a classical MPI hostfile (that is, this file lists the machines on which the processes must be dispatched, one - per line) + per line). Using the ``hostname:num_procs`` syntax will deploy num_procs + MPI processes on the host, sharing available cores (equivalent to listing + the same host num_procs times on different lines). - ``my_platform.xml`` is a classical SimGrid platform file. Of course, the hosts of the hostfile must exist in the provided platform. - ``./program`` is the MPI program to simulate, that you compiled with ``smpicc`` -- 2.20.1