Commit c0de94d8 authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: drop -thread/-no-thread option for makeOPENMPI

- made redundant by 19f241fa. Multiple threads are needed by the
  collated format and are now always enabled.
parent 19f241fa
......@@ -71,9 +71,6 @@ _foamEtc config.sh/mpi
mpiPACKAGE=${FOAM_MPI:-openmpi-system}
# Configure with/without mpi-threads
unset optMpiThreads
#------------------------------------------------------------------------------
usage() {
exec 1>&2
......@@ -83,8 +80,6 @@ usage() {
usage: ${0##*/} [OPTION] [openmpi-VERSION]
options:
-gcc force gcc/g++ instead of the values from \$WM_CC, \$WM_CXX
-no-thread disable multiple mpi threads
-thread enable multiple mpi threads
-help
* build openmpi with
......@@ -105,8 +100,6 @@ do
'') ;; # Ignore empty
-h | -help) usage ;;
-gcc) useGcc ;;
-no-thread*) optMpiThreads=disable ;;
-thread*) optMpiThreads=enable ;;
openmpi-[0-9]* | openmpi_[0-9]* | openmpi-system )
mpiPACKAGE="${1%%/}"
......@@ -164,12 +157,6 @@ else
configOpt="$configOpt --with-verbs=$ibDir --with-verbs-lib=$ibLib"
fi
# Explicitly enable/disable multiple mpi threads
if [ -n "$optMpiThreads" ]
then
configOpt="$configOpt -${optMpiThreads}-mpi-thread-multiple"
fi
# end of configuration options
# ----------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment