[
https://issues.apache.org/jira/browse/ARROW-10489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254253#comment-17254253
]
Jensen Richardson commented on ARROW-10489:
-------------------------------------------
[~danieldjewell] thanks for the info!
I've done some poking around of this, and it seems like one of the docker
images has the tool that I use, but the one that I found it in was the
intel/oneapi-hpckit docker image. Using this, you should be able to build it
using the docker container as normal. Note that the intel compiler commands
that _I_ use (not necessarily everyone uses the same ones) are CC=icc and
CXX=icpc.
I tried building a minimal release build with "CXX=icpc CC=icc cmake .." and
then making and it worked.
Thanks for the help!
> [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)