E3SM-Project / scorpio

A high-level Parallel I/O Library for structured grid applications
Other
21 stars 16 forks source link

Apply a workaround for CMake FindMPI regression on Cray systems #623

Open dqwu opened 12 hours ago

dqwu commented 12 hours ago

This PR applies a temporary but necessary workaround to address a CMake regression (3.22.0 or higher) that causes find_package(MPI) to fail or hang when detected in subprojects on Cray systems.

This workaround ensures that find_package(MPI) is properly detected in subprojects until the regression is resolved by CMake developers.

Fixes #517