Browse Source

Avoid one level of process in ps

Samuel Thibault 4 years ago
parent
commit
328cfe845c

+ 2 - 2
julia/examples/execute.sh.in

@@ -48,6 +48,6 @@ then
 fi
 shift
 #cd $srcdir/$(dirname $srcfile)
-#@JULIA@ $(basename $srcfile) $*
-@JULIA@ $srcdir/$srcfile $*
+#exec @JULIA@ $(basename $srcfile) $*
+exec @JULIA@ $srcdir/$srcfile $*
 

+ 1 - 1
starpupy/examples/execute.sh.in

@@ -87,5 +87,5 @@ fi
 shift
 
 set -x
-PYTHONPATH=$pypath LD_LIBRARY_PATH=$modpath $LOADER $pythonscript $*
+PYTHONPATH=$pypath LD_LIBRARY_PATH=$modpath exec $LOADER $pythonscript $*
 

+ 2 - 2
starpupy/examples/starpu_py.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2020       Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
+# Copyright (C) 2020-2021  Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -15,5 +15,5 @@
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
 
-$(dirname $0)/execute.sh starpu_py.py $*
+exec $(dirname $0)/execute.sh starpu_py.py $*
 

+ 2 - 2
starpupy/examples/starpu_py_np.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2020       Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
+# Copyright (C) 2020-2021  Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -15,5 +15,5 @@
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
 
-$(dirname $0)/execute.sh starpu_py_np.py $*
+exec $(dirname $0)/execute.sh starpu_py_np.py $*
 

+ 2 - 2
starpupy/examples/starpu_py_parallel.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2020       Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
+# Copyright (C) 2020-2021  Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -15,5 +15,5 @@
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
 
-STARPU_CALIBRATE=1 $(dirname $0)/execute.sh starpu_py_parallel.py $*
+STARPU_CALIBRATE=1 exec $(dirname $0)/execute.sh starpu_py_parallel.py $*
 

+ 1 - 1
tests/main/combined_workers/bfs/run.sh

@@ -29,4 +29,4 @@ export STARPU_NCUDA=0
 export STARPU_NOPENCL=0
 export STARPU_WORKER_STATS=1
 export STARPU_CALIBRATE=1
-$STARPU_LAUNCH ./bfs data/graph65536.txt
+$STARPU_LAUNCH exec ./bfs data/graph65536.txt

+ 1 - 1
tools/dev/valgrind/valgrind.sh

@@ -37,4 +37,4 @@ else
 fi
 SUPPRESSIONS=$(for f in $(dirname $0)/*.suppr /usr/share/hwloc/hwloc-valgrind.supp; do if test -f $f ; then echo "--suppressions=$f" ; fi ; done)
 
-$RUN --keep-debuginfo=yes --num-callers=42 --error-limit=no --gen-suppressions=all $SUPPRESSIONS $*
+exec $RUN --keep-debuginfo=yes --num-callers=42 --error-limit=no --gen-suppressions=all $SUPPRESSIONS $*

+ 1 - 1
tools/starpu_temanejo2.sh

@@ -24,4 +24,4 @@ PATH=$d/bin:$PATH
 LD_LIBRARY_PATH=$d/lib:$LD_LIBRARY_PATH
 PYTHONPATH=$d/lib/python2.7/site-packages:$PYTHONPATH
 export PATH LD_LIBRARY_PATH PYTHONPATH
-$d/bin/Temanejo2 -p 8888 -d 8889 -P $d/lib/libayudame.so -L $d/lib -A $cmd "$@"
+exec $d/bin/Temanejo2 -p 8888 -d 8889 -P $d/lib/libayudame.so -L $d/lib -A $cmd "$@"