mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 05:35:28 -04:00
Toolchain: Add support for enabling "CP2K_USE_MPI_F08" when generating CMake options
This commit is contained in:
parent
35340893dd
commit
6d8a8e2a96
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ else
|
|||
# If MPI is used, set "CP2K_USE_MPI" to "ON"
|
||||
if [ "${MPI_MODE}" != "no" ]; then
|
||||
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCP2K_USE_MPI=ON"
|
||||
if [ -n $(grep "IF_MPI(-D__MPI_F08|)" "${INSTALLDIR}"/toolchain.conf) ]; then
|
||||
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCP2K_USE_MPI_F08=ON"
|
||||
fi
|
||||
fi
|
||||
# If GPU acceleration is used, add the option about GPU acceleration
|
||||
if [ "${ENABLE_CUDA}" = "__TRUE__" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue