浏览代码

Make starpu_smpirun return the value returned by smpirun

Samuel Thibault 9 年之前
父节点
当前提交
d374581c7e
共有 1 个文件被更改,包括 2 次插入0 次删除
  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