- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone.
I got an error about OMP_DLL_DIR not being found and I think it's a bug in MKLConfig.cmake
Line 905 of MKLConfig.cmake I changed to
set(OMP_LIBNAME ${LIB_PREFIX}${MKL_OMP_LIB})
and I added "../../compiler/latest/lib" to PATH_SUFFIXES and now everything is working again.
set(MKL_SDL_THREAD_ENV "INTEL")
set(OMP_LIBNAME ${LIB_PREFIX}${MKL_OMP_LIB})
find_library(OMP_LIBRARY ${OMP_LIBNAME}
HINTS $ENV{LIB} $ENV{LIBRARY_PATH} $ENV{MKLROOT} ${MKL_ROOT} $ENV{CMPLR_ROOT}
PATH_SUFFIXES "lib" "lib/${MKL_ARCH}"
"lib/${MKL_ARCH}_lin" "lib/${MKL_ARCH}_win"
"linux/compiler/lib/${MKL_ARCH}"
"linux/compiler/lib/${MKL_ARCH}_lin"
"windows/compiler/lib/${MKL_ARCH}"
"windows/compiler/lib/${MKL_ARCH}_win"
"../compiler/lib/${MKL_ARCH}_lin" "../compiler/lib/${MKL_ARCH}_win"
"../compiler/lib/${MKL_ARCH}" "../compiler/lib" "compiler/lib"
"../../compiler/latest/lib"
"../../compiler/latest/linux/compiler/lib/${MKL_ARCH}"
"../../compiler/latest/linux/compiler/lib/${MKL_ARCH}_lin"
"../../compiler/latest/windows/compiler/lib/${MKL_ARCH}"
"../../compiler/latest/windows/compiler/lib/${MKL_ARCH}_win"
"../../compiler/latest/mac/compiler/lib"
NO_DEFAULT_PATH)
Cheers,
Arnout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arnout,
Thanks for the information.
Could you please try with the latest release of oneAPI 2024.1, and let me know if there is any issue.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arnout,
Thanks for the information.
Could you please try with the latest release of oneAPI 2024.1, and let me know if there is any issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mahan,
My code compiles just fine now.
Thanks,
Arnout
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page