mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
STYLE: drop -thread/-no-thread option for makeOPENMPI
- made redundant by 19f241f. Multiple threads are needed by the
collated format and are now always enabled.
This commit is contained in:
13
makeOPENMPI
13
makeOPENMPI
@ -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
|
||||
# ----------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user