Pārlūkot izejas kodu

Make starpu_smpirun return the value returned by smpirun

Samuel Thibault 10 gadi atpakaļ
vecāks
revīzija
d374581c7e
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      tools/starpu_smpirun.in

+ 2 - 0
tools/starpu_smpirun.in

@@ -91,5 +91,7 @@ EOF
 STACKSIZE=$(ulimit -s)
 [ "$STACKSIZE" != unlimited ] || STACKSIZE=8192
 $SMPIRUN -platform $PLATFORM -hostfile $MPI_HOSTFILE "$@" --cfg=smpi/privatize_global_variables:yes --cfg=contexts/stack_size:$STACKSIZE
+RET=$?
 
 rm -f $PLATFORM
+exit $RET