From 121b329e9c96c171bd545fe2675e6dd7857d8443 Mon Sep 17 00:00:00 2001 From: yujian Date: Thu, 16 Jul 2009 01:47:12 +0000 Subject: [PATCH] Branch b1_8 b=19432 i=robert.read i=grev 1) move MPIRUN and MPI_USER from ncli.sh to local.sh 2) remove MPIBIN 3) redirect the stderr of "which mpirun" to /dev/null --- lustre/tests/cfg/local.sh | 3 +++ lustre/tests/cfg/ncli.sh | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lustre/tests/cfg/local.sh b/lustre/tests/cfg/local.sh index 7b1f550..dea4a2d 100644 --- a/lustre/tests/cfg/local.sh +++ b/lustre/tests/cfg/local.sh @@ -94,3 +94,6 @@ POWER_DOWN=${POWER_DOWN:-"powerman --off"} POWER_UP=${POWER_UP:-"powerman --on"} SLOW=${SLOW:-no} FAIL_ON_ERROR=${FAIL_ON_ERROR:-true} + +MPIRUN=$(which mpirun 2>/dev/null) || true +MPI_USER=${MPI_USER:-mpiuser} diff --git a/lustre/tests/cfg/ncli.sh b/lustre/tests/cfg/ncli.sh index a3fff9f..2bd0618 100644 --- a/lustre/tests/cfg/ncli.sh +++ b/lustre/tests/cfg/ncli.sh @@ -11,11 +11,6 @@ init_clients_lists [ -n "$FUNCTIONS" ] && . $FUNCTIONS || true -MPIBIN=${MPIBIN:-/testsuite/tests/`arch`/bin} -export PATH=:$PATH:$MPIBIN -MPIRUN=$(which mpirun) || true -MPI_USER=${MPI_USER:-mpiuser} - # for recovery scale tests # default boulder cluster iozone location export PATH=/opt/iozone/bin:$PATH -- 1.8.3.1