1
1

If you don't have a cofs dir, let mpirun make and set one for you.

This commit was SVN r1653.
Этот коммит содержится в:
Jeff Squyres 2004-07-12 23:17:18 +00:00
родитель 99429f0bbb
Коммит 88af9e2f2c

Просмотреть файл

@ -159,6 +159,17 @@ do_start_proc() {
cmd="${cmd} -pwd ${ompi_cwd} ${ompi_prepped}"
if test ! -z "${OMPI_MCA_oob_cofs_dir}" ; then
cmd="${cmd} -commdir ${OMPI_MCA_oob_cofs_dir}"
else
if test -d $HOME/cofs; then
OMPI_MCA_oob_cofs_dir="$HOME/cofs"
elif test -d /tmp/cofs; then
OMPI_MCA_oob_cofs_dir="/tmp/cofs"
else
OMPI_MCA_oob_cofs_dir="$HOME/cofs"
mkdir $HOME/cofs
fi
export OMPI_MCA_OOB_cofs_dir
cmd="${cmd} -commdir ${OMPI_MCA_oob_cofs_dir}"
fi
cmd="${cmd} -- ${argv}"
${cmd}