[Ocfs2-tools-devel] [PATCH 2/4] Ocfs2-test: Add MPIHOSTS variable in config files.

Tristan Ye tristan.ye at oracle.com
Thu Sep 11 03:49:07 PDT 2008


Add MPIHOSTS variable in config files both for shell and python.
Just reserve the LAMHOSTS here to make it still workable for existing
mpi test.

Should remove the LAMHOSTS in the future.

Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
 programs/python_common/config_py.skel    |    2 ++
 programs/python_common/config_shell.skel |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/programs/python_common/config_py.skel b/programs/python_common/config_py.skel
index 75cf1a7..b7e4bcc 100755
--- a/programs/python_common/config_py.skel
+++ b/programs/python_common/config_py.skel
@@ -35,6 +35,8 @@ LAMBOOT = MPIDIR + '/lamboot'
 
 LAMHOSTS = WORKFILESDIR + '/lamhosts'
 
+MPIHOSTS = WORKFILESDIR + '/mpihosts'
+
 RECON = MPIDIR + '/recon'
 
 MPIRUNPARTS = BINDIR + '/mpi-run-parts'
diff --git a/programs/python_common/config_shell.skel b/programs/python_common/config_shell.skel
index 5832b5c..37686b6 100755
--- a/programs/python_common/config_shell.skel
+++ b/programs/python_common/config_shell.skel
@@ -34,6 +34,8 @@ LAMBOOT=${MPIDIR}/lamboot
 export LAMBOOT
 LAMHOSTS=${WORKFILESDIR}/lamhosts
 export LAMHOSTS
+MPIHOSTS=${WORKFILESDIR}/mpihosts
+export MPIHOSTS
 RECON=${MPIDIR}/recon
 export RECON
 MPIRUNPARTS=${BINDIR}/mpi-run-parts
-- 
1.5.5




More information about the Ocfs2-tools-devel mailing list