Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Get smpirun displaying the real process rank
[simgrid.git] / 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
-       echo "[rank $j] -> ${hostnames[$j]}"  
+       echo "[rank $i] -> ${hostnames[$j]}"  
   fi
 
   if [ -z "${hostnames[$j]}" ]; then