E3SM-Project / scorpio

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

Search local cmake mods before user cmake mods #463

Closed jayeshkrishna closed 2 years ago

jayeshkrishna commented 2 years ago

We now always look for cmake modules in the source before the user-specified path.

This change fixes SCORPIO CLASSIC build failures in E3SM.

jayeshkrishna commented 2 years ago

@dqwu noticed that E3SM builds with SCORPIO CLASSIC (PIO_VERSION=1) were failing after E3SM-Project/E3SM#4350. This CIME PR made changes to the CMake module path and the new paths did not include all the modules required by SCORPIO CLASSIC (The SCORPIO builds were however not affected by PR 4350)