Skip to content

Comments

CMake Fix missing MPI preprocessor definition#271

Open
islas wants to merge 1 commit intowrf-model:developfrom
islas:cmake_fix_mpi_define
Open

CMake Fix missing MPI preprocessor definition#271
islas wants to merge 1 commit intowrf-model:developfrom
islas:cmake_fix_mpi_define

Conversation

@islas
Copy link
Contributor

@islas islas commented May 2, 2025

The preprocessor definition _MPI is used to compile WPS with distributed memory capabilities. This define is missing from the set applied when USE_MPI is selected in the CMake build. This will result in serial-like behavior even when all the MPI libraries and includes are being used properly during compilation.

This PR adds the _MPI compile definition to the set of MPI-specific definitions in the CMake build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant