oneMKL: Failed to build oneMKL under Ubuntu 22.04

  1. My ENV
➜  ~ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy
➜  ~ uname -r
5.15.0-37-generic
➜  ~ gcc --version
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

➜  ~ clang --version
Ubuntu clang version 14.0.0-1ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
➜  ~ 
  1. CMake ERROR messages:
 CMAKE_BUILD_TYPE: Release
 C compiler: icx was not found in PATH, using clang instead
 The CXX compiler identification is unknown
 CMake Error at CMakeLists.txt:135 (project):
   The CMAKE_CXX_COMPILER:

     dpcpp

   is not a full path and was not found in the PATH.

   Tell CMake where to find the compiler by setting either the environment
   variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
   to the compiler, or to the compiler name if it is in the PATH.

 Configuring incomplete, errors occurred!
 See also "....../oneMKL/build/CMakeFiles/CMakeOutput.log".
 See also "....../oneMKL/build/CMakeFiles/CMakeError.log".

My question: how to build oneMKL successfully from source under Ubuntu 22.04?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

@mmeterel

Got you finally…

So, you are actually saying that: Intel oneAPI->MKL is the backend, but this github oneMKL is ONLY the interface of that backend?

Is my understanding correct now???