Renamed MVAPICH2 -> MV2MPI for consistency with the MPI implementation naming convention
Resolves patch request https://bugs.openfoam.org/view.php?id=3153
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration | Website: https://openfoam.org
|
# \\ / O peration | Website: https://openfoam.org
|
||||||
# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -142,7 +142,7 @@ case MPICH-GM:
|
|||||||
_foamAddLib $GM_LIB_PATH
|
_foamAddLib $GM_LIB_PATH
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case MVAPICH2:
|
case MV2MPI:
|
||||||
setenv FOAM_MPI mvapich2
|
setenv FOAM_MPI mvapich2
|
||||||
set libDir=`mpicc -show -cc= | sed -e 's/.*-L\([^ ]*\).*/\1/'`
|
set libDir=`mpicc -show -cc= | sed -e 's/.*-L\([^ ]*\).*/\1/'`
|
||||||
setenv MPI_ARCH_PATH "${libDir:h}"
|
setenv MPI_ARCH_PATH "${libDir:h}"
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration | Website: https://openfoam.org
|
# \\ / O peration | Website: https://openfoam.org
|
||||||
# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -149,7 +149,7 @@ MPICH-GM)
|
|||||||
_foamAddLib $GM_LIB_PATH
|
_foamAddLib $GM_LIB_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
MVAPICH2)
|
MV2MPI)
|
||||||
export FOAM_MPI=mvapich2
|
export FOAM_MPI=mvapich2
|
||||||
libDir=`mpicc -show -cc= | sed -e 's/.*-L\([^ ]*\).*/\1/'`
|
libDir=`mpicc -show -cc= | sed -e 's/.*-L\([^ ]*\).*/\1/'`
|
||||||
export MPI_ARCH_PATH="${libDir%/*}"
|
export MPI_ARCH_PATH="${libDir%/*}"
|
||||||
|
|||||||
Reference in New Issue
Block a user