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 #624

Open dqwu opened 3 days ago

dqwu commented 3 days 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.

Same as PR #623