Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Get smpirun displaying the real process rank
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 25 Jun 2009 13:31:51 +0000 (13:31 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 25 Jun 2009 13:31:51 +0000 (13:31 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6357 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/smpi/smpirun.in

index 70c8fa9..e478855 100755 (executable)
@@ -144,7 +144,7 @@ do
   fi 
   ##---- optional display of ranks to process mapping
   if [ -n ${MAPOPT} ]; then
   fi 
   ##---- optional display of ranks to process mapping
   if [ -n ${MAPOPT} ]; then
-       echo "[rank $j] -> ${hostnames[$j]}"  
+       echo "[rank $i] -> ${hostnames[$j]}"  
   fi
 
   if [ -z "${hostnames[$j]}" ]; then
   fi
 
   if [ -z "${hostnames[$j]}" ]; then