Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
1826 Discussions

Gold oneAPI release broken but betas worked fine (Linux, Windows)

scivision
Novice
909 Views

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.

Linux

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.

Example CMakeLists.txt

cmake_minimum_required(VERSION 3.14)
project(oops C)

find_package(MPI)

results in

$ cd /scratch/foo
$ cmake -B build

-- The C compiler identification is Intel 20.2.1.20201112
-- 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

"/scratch/foo/'/intel/oneapi/mpi/2021.1.1/include'"

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
provide.

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):
/share/cmake-3.19/Modules/FindMPI.cmake:1264 (_MPI_try_staged_settings)
/share/cmake-3.19/Modules/FindMPI.cmake:1529 (_MPI_check_lang_works)
CMakeLists.txt:4 (find_package)

Windows

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.

MacOS

I didn't try yet with Gold as it's currently working with oneAPI beta 10 and I am afraid to break it too.

0 Kudos
1 Solution
scivision
Novice
503 Views
  • CMake 3.19.2 fixed this for oneAPI on Windows
  • CMake 3.19.3 fixed this for oneAPI on Linux

View solution in original post

4 Replies
PrasanthD_intel
Moderator
861 Views

Hi Michael,


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?


Regards

Prasanth


PrasanthD_intel
Moderator
776 Views

Hi Michael,


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.


Regards

Prasanth



Vincent-A
Beginner
762 Views

I  am experiencing the same issue with basic OneAPI 2021.1.0 installation. Is there no solution to this problem yet?

scivision
Novice
504 Views
  • CMake 3.19.2 fixed this for oneAPI on Windows
  • CMake 3.19.3 fixed this for oneAPI on Linux

View solution in original post

Reply