Intel oneAPI 2025.2 introduces functionality and some new flags and settings that broke projects using MKL Scalapack. If using CMake with MKLconfig.cmake from Intel oneAPI, here is how to keep working with oneMKL including 2025.2.
In the CMakeLists.txt or other CMake script using find_package(MKL CONFIG REQUIRED)
do like the following example that uses MKL ScaLAPACK: