[Ocfs2-test-devel] [PATCH 14/17] Fix openmpi warning by specifying proper slot number
Eric Ren
zren at suse.com
Mon Dec 12 21:29:32 PST 2016
The warning message as below:
"
There are not enough slots available in the system to satisfy the 4
slots
that were requested by the application:
./xattr-multi-test
Either request fewer slots for your application, or make more slots
available
for use.
"
outputs when specifying a rank number for openmpi more than "mkfs"
slots.
Signed-off-by: Eric Ren <zren at suse.com>
---
programs/python_common/multiple_run.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/python_common/multiple_run.sh b/programs/python_common/multiple_run.sh
index 3e52eff..74c3531 100755
--- a/programs/python_common/multiple_run.sh
+++ b/programs/python_common/multiple_run.sh
@@ -368,7 +368,7 @@ run_xattr_test()
local logdir=${LOG_DIR}/multi-xattr-test
LogRunMsg "xattr-test"
- ${BINDIR}/xattr-multi-run.sh -r 4 -f ${NODE_LIST} -a ssh -o ${logdir} \
+ ${BINDIR}/xattr-multi-run.sh -r ${SLOTS} -f ${NODE_LIST} -a ssh -o ${logdir} \
-d ${DEVICE} -b ${BLOCKSIZE} -c ${CLUSTERSIZE} -s ${CLUSTER_STACK} -n ${CLUSTER_NAME} ${MOUNT_POINT} >> ${LOGFILE} 2>&1
LogRC $?
}
@@ -378,7 +378,7 @@ run_inline_test()
local logdir=${LOG_DIR}/multi-inline-test
LogRunMsg "inline-test"
- ${BINDIR}/multi-inline-run.sh -r 2 -f ${NODE_LIST} -a ssh -o ${logdir} \
+ ${BINDIR}/multi-inline-run.sh -r ${SLOTS} -f ${NODE_LIST} -a ssh -o ${logdir} \
-d ${DEVICE} -b ${BLOCKSIZE} -c ${CLUSTERSIZE} -s ${CLUSTER_STACK} -n ${CLUSTER_NAME} ${MOUNT_POINT} >> ${LOGFILE} 2>&1
LogRC $?
}
@@ -389,7 +389,7 @@ run_reflink_test()
LogRunMsg "reflink-test"
LogMsg "reflink 'data=ordered' mode test"
- ${BINDIR}/multi_reflink_test_run.sh -r 4 -f ${NODE_LIST} -a ssh -o \
+ ${BINDIR}/multi_reflink_test_run.sh -r ${SLOTS} -f ${NODE_LIST} -a ssh -o \
${logdir} -d ${DEVICE} -s ${CLUSTER_STACK} -n ${CLUSTER_NAME} ${MOUNT_POINT} >> ${LOGFILE} 2>&1 || {
RET=$?
LogRC $RET
--
2.6.6
More information about the Ocfs2-test-devel
mailing list