I have used oneAPI across several beta releases from before May 2020 till now on Linux, Mac and Windows and multiple computers and operating systems. All was fine until I installed the oneAPI "gold" release on Dec 9. Suddenly oneAPI is not usable for me anymore due to problems including symptoms below.
So caution to those using beta oneAPI -- Gold may break for you. Suggest keeping the beta oneAPI installed for now.
CMake FindMPI errors out with apparent extra unexpected text. This happens across multiple CMake versions that worked with several oneAPI beta releases. Since MPI is fundamental to Linux HPC use, we cannot currently use oneAPI Gold (happens for C and Fortran). This happens across several CMake releases, that worked find with oneAPI beta 10 and earlier betas.
$ cd /scratch/foo
$ cmake -B build
-- The C compiler identification is Intel 126.96.36.19901112
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /intel/oneapi/compiler/2021.1.1/linux/bin/intel64/icc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error in /scratch/foo/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Imported target "MPI::MPI_C" includes non-existent path
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
CMake Error at /share/cmake-3.19/Modules/FindMPI.cmake:1213 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
Statically compiled libraries (say, zlib) crash with error 135 on run saying zlib.dll is missing (for a program using zlib). This happens across several CMake releases, that worked find with oneAPI beta 10 and earlier betas.
I didn't try yet with Gold as it's currently working with oneAPI beta 10 and I am afraid to break it too.
Thanks for reporting the issue with Cmake in Linux, we too got a similar error with Cmake. I will update this issue to the internal team.
I have to check the Zlib crash in my system to confirm, could you please confirm whether you are getting an error while using Zlib library or while building it?
We have also seen a similar kind of error with CMake in Linux and Zlib in windows.
Thanks for reporting the issues.
We are escalating this to the internal team.