kill charmrun if jacobi.iso hangs. (this does not necessarily have to work on all...
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 24 Aug 2009 19:20:55 +0000 (19:20 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 24 Aug 2009 19:20:55 +0000 (19:20 +0000)
examples/ampi/Cjacobi3D/Makefile

index 67350a04f9f4de829a522d6fcdbebe166994d7dc..43107817d64332b4c5c8b97da3303f6328fd1eb2 100644 (file)
@@ -32,7 +32,7 @@ jacobi-get-tokens:
 test: ampi
        ./charmrun +p3 ./jacobi 2 2 2 +vp8 +balancer RotateLB +LBDebug 1 $(TESTOPTS)
        -./charmrun +p3 ./jacobi.iso 2 2 2 +vp8 +balancer RotateLB +LBDebug 1 $(TESTOPTS) &  \
- pid=$$!; (sleep 30; echo killall jacobi.iso; killall -9 jacobi.iso)
+ pid=$$!; (sleep 30; echo killall jacobi.iso; killall -9 jacobi.iso; kill -9 $$pid)
 
 bgtest: jacobi
        ./charmrun +p2 ./jacobi 2 2 2 10 +vp8 +balancer RotateLB +x2 +y2 +z1 $(TESTOPTS)