<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000066" bgcolor="#ffffcc">
<tt>See my comments</tt><br>
<pre class="moz-signature" cols="72">Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering

“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
</pre>
<br>
On 06/16/2010 09:37 PM, tristan wrote:
<blockquote cite="mid:4C197C59.6020803@oracle.com" type="cite">Trivial
comments inlined:)
  <br>
  <br>
  <br>
Marcos Matsunaga wrote:
  <br>
  <blockquote type="cite">ocfs2-test: changed to accept an alternate
NIC to be used by the test.
    <br>
    <br>
- Made the logfiles names more consistent among tests.
    <br>
- replaced some hard coded parameters by variables. Also included the
    <br>
  architecture in the logfile name to make them specific. Useful when
    <br>
  storing logfiles in a shared directory.
    <br>
- Additional change from the previous version. Made the logfile
starting
    <br>
  with the name instead of date. Makes it more visible and clean.
    <br>
    <br>
Signed-off-by: Marcos Matsunaga <a class="moz-txt-link-rfc2396E" href="mailto:Marcos.Matsunaga@oracle.com">&lt;Marcos.Matsunaga@oracle.com&gt;</a>
    <br>
Signed-off-by: Tristan Ye <a class="moz-txt-link-rfc2396E" href="mailto:tristan.ye@oracle.com">&lt;tristan.ye@oracle.com&gt;</a>
    <br>
---
    <br>
 programs/xattr_tests/xattr-multi-run.sh |   66
+++++++++++++++++++------------
    <br>
 1 files changed, 40 insertions(+), 26 deletions(-)
    <br>
    <br>
diff --git a/programs/xattr_tests/xattr-multi-run.sh
b/programs/xattr_tests/xattr-multi-run.sh
    <br>
index dd5aa28..9c7567c 100755
    <br>
--- a/programs/xattr_tests/xattr-multi-run.sh
    <br>
+++ b/programs/xattr_tests/xattr-multi-run.sh
    <br>
@@ -58,9 +58,12 @@ REMOTE_UMOUNT_BIN="${BINDIR}/remote_umount.py"
    <br>
 MKFS_BIN="`which sudo` -u root `which mkfs.ocfs2`"
    <br>
 CHMOD_BIN="`which sudo` -u root `which chmod`"
    <br>
 CHOWN_BIN="`which sudo` -u root `which chown`"
    <br>
+IFCONFIG_BIN="`which sudo` -u root `which ifconfig`"
    <br>
 
    <br>
 XATTR_TEST_BIN="${BINDIR}/xattr-multi-test"
    <br>
 
    <br>
+LABEL="ocfs2-xattr-multi-test-`uname -m`"
    <br>
+SLOTS=2
    <br>
 DEFAULT_LOG="multiple-xattr-test-logs"
    <br>
 LOG_OUT_DIR=
    <br>
 LOG_FILE=
    <br>
@@ -82,6 +85,8 @@ declare -i MPI_RANKS
    <br>
 MPI_HOSTS=
    <br>
 MPI_ACCESS_METHOD="ssh"
    <br>
 MPI_PLS_AGENT_ARG="-mca plm_rsh_agent ssh:rsh"
    <br>
+MPI_MCA_BTL="-mca btl tcp,self"
    <br>
+MPI_MCA_BTL_IF=""
    <br>
 
    <br>
 TEST_NO=0
    <br>
 TEST_PASS=0
    <br>
@@ -140,11 +145,12 @@ exit_or_not()
    <br>
 ################################################################################
    <br>
 f_usage()
    <br>
 {
    <br>
-    echo "usage: `basename ${0}` [-r MPI_Ranks] &lt;-f MPI_Hosts&gt;
[-a access method] [-o output] &lt;-d &lt;device&gt;&gt; &lt;mountpoint
path&gt;"
    <br>
+    echo "usage: `basename ${0}` [-r MPI_Ranks] &lt;-f MPI_Hosts&gt;
[-a access method] [-o output] [-i interface] &lt;-d &lt;device&gt;&gt;
&lt;mountpoint path&gt;"
    <br>
     echo "       -r size of MPI rank"
    <br>
     echo "       -a access method for process propagation,should be
ssh or rsh,set ssh as a default method when omited."
    <br>
     echo "       -f MPI hosts list,separated by comma,e.g -f
node1.us.oracle.com,node2.us.oracle.com."
    <br>
     echo "       -o output directory for the logs"
    <br>
+    echo "       -i Network Interface name to be used during tests."
    <br>
  </blockquote>
  <br>
To be more exact, it would be better using "Network Interface name to
be used for MPI messaging."
  <br>
  <br>
</blockquote>
yes.. makes it clear.<br>
<blockquote cite="mid:4C197C59.6020803@oracle.com" type="cite">
  <blockquote type="cite">     echo "       -d specify the device which
has been formated as an ocfs2 volume."
    <br>
     echo "       &lt;mountpoint path&gt; path of mountpoint where the
ocfs2 volume will be mounted on."
    <br>
     exit 1;
    <br>
@@ -157,13 +163,14 @@ f_getoptions()
    <br>
                 exit 1
    <br>
          fi
    <br>
 
    <br>
-     while getopts "o:d:r:f:a:h:" options; do
    <br>
+     while getopts "o:d:r:f:a:h:i:" options; do
    <br>
                 case $options in
    <br>
         r ) MPI_RANKS="$OPTARG";;
    <br>
                 f ) MPI_HOSTS="$OPTARG";;
    <br>
                 o ) LOG_OUT_DIR="$OPTARG";;
    <br>
                 d ) OCFS2_DEVICE="$OPTARG";;
    <br>
         a ) MPI_ACCESS_METHOD="$OPTARG";;
    <br>
+        i ) INTERFACE="$OPTARG";;
    <br>
                 h ) f_usage
    <br>
                     exit 1;;
    <br>
                 * ) f_usage
    <br>
@@ -188,6 +195,14 @@ f_setup()
    <br>
         REMOTE_SH_BIN=${RSH_BIN}
    <br>
     fi
    <br>
 
    <br>
+    if [ ! -z "${INTERFACE}" ]; then
    <br>
+        ${IFCONFIG_BIN} ${INTERFACE} &gt;/dev/null 2&gt;&amp;1 || {
    <br>
+            echo "Invalid NIC";
    <br>
+            f_usage;
    <br>
+        } +        MPI_MCA_BTL_IF="-mca btl_tcp_if_include
${INTERFACE}"
    <br>
  </blockquote>
              else
  <br>
  <br>
        MPI_MCA_BTL_IF="-mca btl_tcp_if_include eth0"
  <br>
  <br>
I guess we'd better have a default value if folks specify nothing.
  <br>
  <br>
</blockquote>
if nothing is specified, openmpi will default to eth0.<br>
<blockquote cite="mid:4C197C59.6020803@oracle.com" type="cite"><br>
  <blockquote type="cite">+    fi;
    <br>
+
    <br>
     if [ -z "${MOUNT_POINT}" ];then          f_usage
    <br>
     else
    <br>
@@ -211,9 +226,9 @@ f_setup()
    <br>
     ${MKDIR} -p ${LOG_OUT_DIR} || exit 1
    <br>
 
    <br>
     <br>
-    LOG_POSTFIX=$(date +%Y%m%d-%H%M%S)
    <br>
-    LOG_FILE="`dirname ${LOG_OUT_DIR}`/`basename
${LOG_OUT_DIR}`/xattr-multiple-test-log-${LOG_POSTFIX}.log"
    <br>
-    RUN_LOG_FILE="`dirname ${LOG_OUT_DIR}`/`basename
${LOG_OUT_DIR}`/run-${LOG_POSTFIX}.log"
    <br>
+    LOG_SUFIX=$(date +%F-%H-%M-%S)
    <br>
+    LOG_FILE="`dirname ${LOG_OUT_DIR}`/`basename
${LOG_OUT_DIR}`/xattr-multiple-test-log-`uname -m`-${LOG_SUFIX}.log"
    <br>
+    RUN_LOG_FILE="`dirname ${LOG_OUT_DIR}`/`basename
${LOG_OUT_DIR}`/xattr-multiple-test-log-run-`uname
-m`-${LOG_SUFIX}.log"
    <br>
     <br>
     if [ -z "$MPI_HOSTS" ];then
    <br>
         f_usage
    <br>
@@ -228,24 +243,23 @@ f_setup()
    <br>
 
    <br>
     ${CHMOD_BIN} -R 777 ${MOUNT_POINT}
    <br>
 
    <br>
-        ${CHOWN_BIN} -R ${USERNAME}:${GROUPNAME} ${MOUNT_POINT}
    <br>
+    ${CHOWN_BIN} -R ${USERNAME}:${GROUPNAME} ${MOUNT_POINT}
    <br>
 
    <br>
-        WORKPLACE="`dirname ${MOUNT_POINT}`/`basename
${MOUNT_POINT}`/multi_xattr_test_place"
    <br>
-    <br>
+    WORKPLACE="`dirname ${MOUNT_POINT}`/`basename
${MOUNT_POINT}`/multi_xattr_test_place"
    <br>
 }
    <br>
 
    <br>
 f_do_mkfs_and_mount()
    <br>
 {
    <br>
         echo -n "Mkfsing device(-b ${BLOCKSIZE} -C ${CLUSTERSIZE}):
"|tee -a ${RUN_LOG_FILE}
    <br>
 
    <br>
-        echo y|${MKFS_BIN} --fs-features=xattr -b ${BLOCKSIZE} -C
${CLUSTERSIZE} -N ${SLOTS} -L ocfs2-xattr-multi-test ${OCFS2_DEVICE}
${BLOCKNUMS}&gt;&gt;${RUN_LOG_FILE} 2&gt;&amp;1
    <br>
+        echo y|${MKFS_BIN} --fs-features=xattr -b ${BLOCKSIZE} -C
${CLUSTERSIZE} -N ${SLOTS} -L ${LABEL} ${OCFS2_DEVICE}
${BLOCKNUMS}&gt;&gt;${RUN_LOG_FILE} 2&gt;&amp;1
    <br>
 
    <br>
         RET=$?
    <br>
         echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
 
    <br>
     echo -n "Mounting device ${OCFS2_DEVICE} to
nodes(${MPI_HOSTS}):"|tee -a ${RUN_LOG_FILE}
    <br>
-    ${REMOTE_MOUNT_BIN} -l ocfs2-xattr-multi-test -m ${MOUNT_POINT} -n
${MPI_HOSTS}&gt;&gt;${RUN_LOG_FILE} 2&gt;&amp;1
    <br>
+    ${REMOTE_MOUNT_BIN} -l ${LABEL} -m ${MOUNT_POINT} -n
${MPI_HOSTS}&gt;&gt;${RUN_LOG_FILE} 2&gt;&amp;1
    <br>
     RET=$?
    <br>
     echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
@@ -280,10 +294,10 @@ f_runtest()
    <br>
     do
    <br>
         for filetype in normal directory symlink
    <br>
         do
    <br>
-            echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
-mca btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 20 -n ${namespace} -t
${filetype} -l 50 -s 200 ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+            echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 20 -n ${namespace} -t ${filetype} -l 50 -s
200 ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
             echo "********${namespace} mode on
${filetype}********"&gt;&gt;${LOG_FILE}
    <br>
 
    <br>
-            ${SUDO} ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self
-mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 20 -n ${namespace} -t ${filetype} -l 50 -s
200 ${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+            ${SUDO} ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL}
${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 20 -n ${namespace} -t ${filetype} -l 50 -s
200 ${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
             rc=$?
    <br>
             if [ "$rc" != "0" ];then
    <br>
                 if [ "$namespace" == "user" -a "$filetype" ==
"symlink" ]; then
    <br>
@@ -323,8 +337,8 @@ f_runtest()
    <br>
         echo &gt;&gt;${LOG_FILE}
    <br>
         echo
"=========================================================="&gt;&gt;${LOG_FILE}
    <br>
     for((i=0;i&lt;4;i++));do
    <br>
-        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
-mca btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 10 -n user -t normal -l 50 -s
100 ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
-        ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self -mca
btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 10 -n user -t normal -l 50 -s 100
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 10 -n user -t normal -l 50 -s 100
${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+        ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL}
${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 10 -n user -t normal -l 50 -s 100
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
         rc=$?
    <br>
         if [ ! "$rc" == "0"  ];then
    <br>
             echo_failure |tee -a ${RUN_LOG_FILE}
    <br>
@@ -347,8 +361,8 @@ f_runtest()
    <br>
     echo -ne "[${TEST_NO}] Check Max Multinode Xattr
EA_Name_Length:"&gt;&gt; ${LOG_FILE}
    <br>
     echo &gt;&gt;${LOG_FILE}
    <br>
         echo
"=========================================================="&gt;&gt;${LOG_FILE}
    <br>
-    echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca
btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 4 -n user -t normal -l 255 -s
300 ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
-    ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self -mca
btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 4 -n user -t normal -l 255 -s 300
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+    echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 4 -n user -t normal -l 255 -s 300
${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+    ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL} ${MPI_MCA_BTL_IF}
-np ${MPI_RANKS} --host ${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 4 -n
user -t normal -l 255 -s 300 ${WORKPLACE}&gt;&gt;${LOG_FILE}
2&gt;&amp;1
    <br>
     RET=$?
    <br>
         echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
@@ -363,8 +377,8 @@ f_runtest()
    <br>
         echo -ne "[${TEST_NO}] Check Max Multinode Xattr
EA_Size:"&gt;&gt; ${LOG_FILE}
    <br>
         echo &gt;&gt;${LOG_FILE}
    <br>
         echo
"=========================================================="&gt;&gt;${LOG_FILE}
    <br>
-        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
-mca btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 1 -n user -t normal -l 50 -s
65536 ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
-        ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self -mca
btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1 -n user -t normal -l 50 -s 65536
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1 -n user -t normal -l 50 -s 65536
${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+        ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL}
${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1 -n user -t normal -l 50 -s 65536
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
         RET=$?
    <br>
         echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
@@ -379,8 +393,8 @@ f_runtest()
    <br>
         echo -ne "[${TEST_NO}] Check Huge Multinode Xattr
EA_Entry_Nums:"&gt;&gt; ${LOG_FILE}
    <br>
         echo &gt;&gt;${LOG_FILE}
    <br>
         echo
"=========================================================="&gt;&gt;${LOG_FILE}
    <br>
-        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
-mca btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 10000 -n user -t normal -l 100
-s 200 ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
-        ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self -mca
btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 10000 -n user -t normal -l 100 -s 200
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 10000 -n user -t normal -l 100 -s 200
${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+        ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL}
${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 10000 -n user -t normal -l 100 -s 200
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
         RET=$?
    <br>
         echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
@@ -395,8 +409,8 @@ f_runtest()
    <br>
         echo -ne "[${TEST_NO}] Check All Max Multinode Xattr Arguments
Together:"&gt;&gt; ${LOG_FILE}
    <br>
         echo &gt;&gt;${LOG_FILE}
    <br>
         echo
"=========================================================="&gt;&gt;${LOG_FILE}
    <br>
-        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
-mca btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s
65536 ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
-        ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self -mca
btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s 65536
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s 65536
${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+        ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL}
${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s 65536
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
         RET=$?
    <br>
         echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
@@ -411,8 +425,8 @@ f_runtest()
    <br>
         echo -ne "[${TEST_NO}] Launch Concurrent Adding Test:"&gt;&gt;
${LOG_FILE}
    <br>
         echo &gt;&gt;${LOG_FILE}
    <br>
         echo
"=========================================================="&gt;&gt;${LOG_FILE}
    <br>
-        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
-mca btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s
5000 -o -r -k ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
-        ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self -mca
btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s 5000 -o -r
-k ${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s 5000 -o -r
-k ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+        ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL}
${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 1000 -n user -t normal -l 255 -s 5000 -o -r
-k ${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
         RET=$?
    <br>
         echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
@@ -427,8 +441,8 @@ f_runtest()
    <br>
         echo -ne "[${TEST_NO}] Launch MultiNode Xattr Stress
Test:"&gt;&gt; ${LOG_FILE}
    <br>
         echo &gt;&gt;${LOG_FILE}
    <br>
         echo
"=========================================================="&gt;&gt;${LOG_FILE}
    <br>
-        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
-mca btl tcp,self -mca btl_tcp_if_include eth0 -np ${MPI_RANKS} --host
${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 2000 -n user -t normal -l 255 -s
5000  -r -k ${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
-        ${MPIRUN} ${MPI_PLS_AGENT_ARG} -mca btl tcp,self -mca
btl_tcp_if_include eth0 -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 2000 -n user -t normal -l 255 -s 5000  -r -k
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
+        echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG}
${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 2000 -n user -t normal -l 255 -s 5000  -r -k
${WORKPLACE}"&gt;&gt;${LOG_FILE}
    <br>
+        ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL}
${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS}
${XATTR_TEST_BIN} -i 1 -x 2000 -n user -t normal -l 255 -s 5000  -r -k
${WORKPLACE}&gt;&gt;${LOG_FILE} 2&gt;&amp;1
    <br>
         RET=$?
    <br>
         echo_status ${RET} |tee -a ${RUN_LOG_FILE}
    <br>
         exit_or_not ${RET}
    <br>
  </blockquote>
  <br>
</blockquote>
</body>
</html>