mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
re-instated MPI_HOME variable
This commit is contained in:
@ -146,7 +146,8 @@ unset MPI_ARCH_PATH
|
|||||||
case "$WM_MPLIB" in
|
case "$WM_MPLIB" in
|
||||||
OPENMPI)
|
OPENMPI)
|
||||||
mpi_version=openmpi-1.2.6
|
mpi_version=openmpi-1.2.6
|
||||||
export MPI_ARCH_PATH=$thirdParty/$mpi_version/platforms/$WM_OPTIONS
|
export MPI_HOME=$thirdParty/$mpi_version
|
||||||
|
export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS
|
||||||
|
|
||||||
# Tell OpenMPI where to find its install directory
|
# Tell OpenMPI where to find its install directory
|
||||||
export OPAL_PREFIX=$MPI_ARCH_PATH
|
export OPAL_PREFIX=$MPI_ARCH_PATH
|
||||||
@ -160,7 +161,8 @@ OPENMPI)
|
|||||||
|
|
||||||
LAM)
|
LAM)
|
||||||
mpi_version=lam-7.1.4
|
mpi_version=lam-7.1.4
|
||||||
export MPI_ARCH_PATH=$thirdParty/$mpi_version/platforms/$WM_OPTIONS
|
export MPI_HOME=$thirdParty/$mpi_version
|
||||||
|
export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS
|
||||||
export LAMHOME=$thirdParty/$mpi_version
|
export LAMHOME=$thirdParty/$mpi_version
|
||||||
# note: LAMHOME is deprecated, should probably point to MPI_ARCH_PATH too
|
# note: LAMHOME is deprecated, should probably point to MPI_ARCH_PATH too
|
||||||
|
|
||||||
@ -173,7 +175,8 @@ LAM)
|
|||||||
|
|
||||||
MPICH)
|
MPICH)
|
||||||
mpi_version=mpich-1.2.4
|
mpi_version=mpich-1.2.4
|
||||||
export MPI_ARCH_PATH=$thirdParty/$mpi_version/platforms/$WM_OPTIONS
|
export MPI_HOME=$thirdParty/$mpi_version
|
||||||
|
export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS
|
||||||
export MPICH_ROOT=$MPI_ARCH_PATH
|
export MPICH_ROOT=$MPI_ARCH_PATH
|
||||||
|
|
||||||
AddLib $MPI_ARCH_PATH/lib
|
AddLib $MPI_ARCH_PATH/lib
|
||||||
|
|||||||
Reference in New Issue
Block a user