mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Add check for OpenMPI 5 (fix for #3700)
This commit is contained in:
parent
d205b35782
commit
7fff33a13e
1 changed files with 5 additions and 1 deletions
|
|
@ -331,7 +331,11 @@ if (command -v mpiexec > /dev/null 2>&1); then
|
|||
export MPI_MODE="mpich"
|
||||
with_mpich="__SYSTEM__"
|
||||
elif (mpiexec --version 2>&1 | grep -s -q "OpenRTE"); then
|
||||
echo "MPI is detected and it appears to be OpenMPI"
|
||||
echo "MPI is detected and it appears to be OpenMPI 4 (or older)"
|
||||
export MPI_MODE="openmpi"
|
||||
with_openmpi="__SYSTEM__"
|
||||
elif (mpiexec --version 2>&1 | grep -s -q "Open MPI"); then
|
||||
echo "MPI is detected and it appears to be OpenMPI 5"
|
||||
export MPI_MODE="openmpi"
|
||||
with_openmpi="__SYSTEM__"
|
||||
elif (mpiexec --version 2>&1 | grep -s -q "Intel"); then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue