Closed dqwu closed 2 years ago
Before PR 465 was merged, the CMake error is:
-- ===== Configuring SCORPIO File info tool... =====
CMake Error at tools/spio_finfo/CMakeLists.txt:9 (include):
include could not find requested file:
SPIOUtils
For SCORPIO release 1.2.2, there is a CMake warning:
CMake Warning at tools/spio_finfo/CMakeLists.txt:74 (find_package):
By not providing "FindPnetCDF.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PnetCDF", but
CMake did not find one.
All these issues seem to be caused by the CMake files inside ADIOS2 lib (configured and built with SST).
ADIOS is resetting the CMAKE_MODULE_PATH and hence SCORPIO configure is not able to find local CMake modules (the local modules that are searched for are different in 1.2.2 and 1.3.1 & hence the error messages are different, however the issue is the same - the CMake module path is being reset by ADIOS)
ADIOS2 lib has a default CMake option ADIOS2_USE_SST for Simplified Staging Engine (SST) and its dependencies. If SCORPIO is configured with ADIOS2 lib built with that default option, CMake will fail at at cmake/SPIOTypeUtils.cmake:172
This issue was first found with latest ADIOS2 2.8.0, but it can also be reproduced with older versions like 2.5.0.
Steps to reproduce this issue on ANL GCE nodes (compute-01 or compute-02):
Output messages:
Note, this issue is not reproducible when ADIOS2 lib is built without SST option, which does not contain the directory lib/cmake/adios2/thirdparty.