You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It first through the following warning when I try to compile pytorch using source file
CMake Warning (dev) at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to find_package_handle_standard_args (OpenMP_CXX)
does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindOpenMP.cmake:565 (find_package_handle_standard_args)
cmake/Modules/FindMKL.cmake:213 (FIND_PACKAGE)
cmake/Modules/FindMKL.cmake:307 (CHECK_ALL_LIBRARIES)
cmake/Dependencies.cmake:140 (find_package)
CMakeLists.txt:564 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
And,
MKL OpenMP type: GNU
-- MKL OpenMP library: -fopenmp
-- Brace yourself, we are building NNPACK
-- NNPACK backend is x86-64
-- Failed to find LLVM FileCheck
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_STD_REGEX -- compiled but failed to run
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- compiled but failed to run
CMake Error at third_party/benchmark/CMakeLists.txt:231 (message):
Failed to determine the source files for the regular expression backend
and it exit with saying -- Configuring incomplete, errors occurred!
Any help how to configure OpenMP?
The text was updated successfully, but these errors were encountered:
Hi there! Thank you for bringing this up. It seems that your issue is related to the installation of PyTorch via building it from source. We did not encounter this in our development but find this repo and its issue listings should contain useful info for trouble shooting: https://github.com/pytorch/pytorch#from-source . Compared with building from source, we recommend using Anaconda to install PyTorch which many people find less painful a process. Hope this helps!
It first through the following warning when I try to compile pytorch using source file
CMake Warning (dev) at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
The package name passed to
find_package_handle_standard_args
(OpenMP_CXX)does not match the name of the calling package (OpenMP). This can lead to
problems in calling code that expects
find_package
result variables(e.g.,
_FOUND
) to follow a certain pattern.Call Stack (most recent call first):
cmake/Modules/FindOpenMP.cmake:565 (find_package_handle_standard_args)
cmake/Modules/FindMKL.cmake:213 (FIND_PACKAGE)
cmake/Modules/FindMKL.cmake:307 (CHECK_ALL_LIBRARIES)
cmake/Dependencies.cmake:140 (find_package)
CMakeLists.txt:564 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
And,
-- MKL OpenMP library: -fopenmp
-- Brace yourself, we are building NNPACK
-- NNPACK backend is x86-64
-- Failed to find LLVM FileCheck
-- git Version: v1.4.0-505be96a
-- Version: 1.4.0
-- Performing Test HAVE_STD_REGEX -- compiled but failed to run
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX -- compiled but failed to run
CMake Error at third_party/benchmark/CMakeLists.txt:231 (message):
Failed to determine the source files for the regular expression backend
and it exit with saying -- Configuring incomplete, errors occurred!
Any help how to configure OpenMP?
The text was updated successfully, but these errors were encountered: