From 3308899d91b3d03ce11f3061b3384e85a9e983c0 Mon Sep 17 00:00:00 2001 From: Enol Fernandez <enolfc@ifca.unican.es> Date: Thu, 28 Nov 2013 12:06:21 +0100 Subject: [PATCH] Now the message is really shown. --- modules/hooks/mpi-start-hooks.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/hooks/mpi-start-hooks.sh b/modules/hooks/mpi-start-hooks.sh index 8c49afa..c97e9c1 100644 --- a/modules/hooks/mpi-start-hooks.sh +++ b/modules/hooks/mpi-start-hooks.sh @@ -255,12 +255,12 @@ mpi_start_run_pre_hook () { return 0 fi debug_msg "call pre_run hook" - if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "1"; then + if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "x1"; then echo "-<START PRE-RUN HOOK>---------------------------------------------------"; fi pre_run_hook result=$? - if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "1"; then + if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "x1"; then echo "-<STOP PRE-RUN HOOK>---------------------------------------------------"; fi if test $result -ne 0 ; then @@ -353,12 +353,12 @@ mpi_start_run_post_hook () { return 0 fi debug_msg "call post-run hook" - if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "1"; then + if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "x1"; then echo "-<START POST-RUN HOOK>--------------------------------------------------"; fi post_run_hook result=$? - if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "1"; then + if test "x$I2G_MPI_START_VERBOSE" = "x1" -a "x$2" = "x1"; then echo "-<STOP POST-RUN HOOK>--------------------------------------------------"; fi if test $result -ne 0 ; then -- GitLab