You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Johannes Müller (Jira)" <ji...@apache.org> on 2021/01/19 13:31:00 UTC
[jira] [Commented] (ARROW-10489) [C++] Unable to configure or make
with intel compiler
[ https://issues.apache.org/jira/browse/ARROW-10489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267883#comment-17267883 ]
Johannes Müller commented on ARROW-10489:
-----------------------------------------
I just tried to build the current master with the Intel compiler on "CentOS release 6.10 (Final)" and I still get the "Unknown compiler" error message.
I used the following command to build arrow:
{code:java}
CXX=icpc CC=icc cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DARROW_BUILD_TESTS=OFF \
-DARROW_CSV=ON \
-DARROW_PARQUET=ON \
-DARROW_WITH_SNAPPY=ON ..
{code}
And got the following output:
{code:java}
~/johannes/arrow/cpp/build-debug ~/johannes
-- Building using CMake version: 3.6.1
-- The C compiler identification is Intel 18.0.5.20180823
-- The CXX compiler identification is Intel 18.0.5.20180823
-- Check for working C compiler: /apps/intel_2018_u4/bin/icc
-- Check for working C compiler: /apps/intel_2018_u4/bin/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /apps/intel_2018_u4/bin/icpc
-- Check for working CXX compiler: /apps/intel_2018_u4/bin/icpc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 3.0.0 (full: '3.0.0')
-- Arrow SO version: 300 (full: 300.0.0)
-- clang-tidy not found
-- clang-format not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN)
-- infer not found
-- Found PythonInterp: /usr/bin/python (found version "2.6.6")
-- Found cpplint executable at /home/builder/johannes/arrow/cpp/build-support/cpplint.py
-- System processor: x86_64
-- Performing Test CXX_SUPPORTS_SSE4_2
-- Performing Test CXX_SUPPORTS_SSE4_2 - Success
-- Performing Test CXX_SUPPORTS_AVX2
-- Performing Test CXX_SUPPORTS_AVX2 - Success
-- Performing Test CXX_SUPPORTS_AVX512
-- Performing Test CXX_SUPPORTS_AVX512 - Success
-- Arrow build warning level: CHECKIN
CMake Error at cmake_modules/SetupCxxFlags.cmake:271 (message):
Unknown compiler: Intel 18.0.5.20180823
Call Stack (most recent call first):
CMakeLists.txt:440 (include)
{code}
> [C++] Unable to configure or make with intel compiler
> -----------------------------------------------------
>
> Key: ARROW-10489
> URL: https://issues.apache.org/jira/browse/ARROW-10489
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 2.0.0
> Environment: SUSE Linux Enterprise Server 12 SP3 with Intel compiler stack.
> Reporter: Jensen Richardson
> Assignee: Jensen Richardson
> Priority: Major
> Labels: build, newbie, pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> I am attempting to compile the Arrow C++ libraries for use in an HPC environment, and as such I need to use the Intel compilers to be compatible with all of my other software packages. However, when I try to compile (having set CC=icc, CXX=icpc, and CFORT=ifort), cmake throws the following error:
> {code:java}
> CMake Error at cmake_modules/SetupCxxFlags.cmake:269 (message):
> Unknown compiler: 18.0.2.20180210 18.0.2.20180210
> Call Stack (most recent call first):
> CMakeLists.txt:437 (include)
> {code}
> The interesting thing to me is that it thinks that 18.0.2.20180210 is the name of the compiler, when earlier it output:
>
> {code:java}
> -- Building using CMake version: 3.16.1
> -- The C compiler identification is Intel 18.0.2.20180210
> -- The CXX compiler identification is Intel 18.0.2.20180210
> {code}
>
> So I don't know why it's taking the 18.0.2.20180210 portion, instead of the intel portion. Either way, it leaves me unable to build the libraries.
> I can provide the whole cmake log/error file if necessary.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)