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:
set(ENABLE_SCALAPACK true)
set(ENABLE_BLAS true)
set(MKL_INTERFACE "lp64")
# "lp64" is the 32-bit interface, "ilp64" is the 64-bit interface
set(MKL_SYCL_MPI false)
set(MKL_SYCL_LINK false)
# for Intel oneAPI 2025.2, we don't need SYCL
find_package(MKL CONFIG REQUIRED)
Test this out with Intel MKL Scalapack examples