Open asfimport opened 3 years ago
Xiaobo Zhang: According to https://en.wikipedia.org/wiki/SSE4, SSE4 is available for Intel and AMD based CPU only so we should disable SSE4 option for Arrow CPP installation on AIX. Is there an instruction to disable it?
Thanks.
Neal Richardson / @nealrichardson:
Does it work if you set -DARROW_SIMD_LEVEL=NONE
?
Xiaobo Zhang: I issued the following "export" statement and checked EXTRA_CMAKE_FLAGS with "set" to make sure it is defined. However, I still have the same error caused by SSE4. See attached error log. CMakeError.log
Login=root: Line=661 > history 646 export EXTRA_CMAKE_FLAGS="-DARROW_SIMD_LEVEL=NONE" Login=root: Line=662 >
Neal Richardson / @nealrichardson:
EXTRA_CMAKE_FLAGS
is only picked up in a build script that R uses. Just add the ARROW_SIMD_LEVEL flag to your cmake invocation.
Xiaobo Zhang: I am a little puzzled now. I issued "cmake -DARROW_SIMD_LEVEL=NONE .. >cmake.log 2>&1 &", In cmake.log file, ARROW_SIMD_LEVEL=NONE at line 112. However, I still can see SSE error at line 8 in CMakeError.log. Besides, there are additional unrecognized options/symbols as shown below.
c++: error: unrecognized command line option '-march=haswell' c++: error: unrecognized command line option '-mavx2'; did you mean '-maix32'?
c++: error: unrecognized command line option '-march=skylake-avx512' c++: error: unrecognized command line option '-mbmi2' c++: error: unrecognized command line option '-mavx512f'; did you mean '-maix32'? c++: error: unrecognized command line option '-mavx512cd' c++: error: unrecognized command line option '-mavx512vl' c++: error: unrecognized command line option '-mavx512dq' c++: error: unrecognized command line option '-mavx512bw'
ld: 0711-317 ERROR: Undefined symbol: .pthread_create ld: 0711-317 ERROR: Undefined symbol: .pthread_detach ld: 0711-317 ERROR: Undefined symbol: .pthread_join ld: 0711-317 ERROR: Undefined symbol: .pthread_atfork ld: 0711-317 ERROR: Undefined symbol: .pthread_exit
At line 102, there is a fatal error with missing execinfo.h file. The bad new is that CMakeTmp subdirectory is empty at the end so I can't check CheckSymbolExists.c.
/software/thirdparty/apache-arrow-2.0.0/cpp/release/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: execinfo.h: No such file or directory
#include ~~~
compilation terminated.
Looks like there are lots of works to be finished in order to install Apache C++ on AIX.
Thanks.
Xiaobo Zhang: Can someone help me on this issue?
Thanks.
My installation of pyarrow on AIX7.2 failed due to missing ARROW and I was told I have to install ARROW C++ first. I downloaded ARROW 2.0.0 tar ball and tried to install its "cpp" component according to the instruction. However, I got the following error after
cd release
to runcmake ..
:Attached are 2 CMake output/error files. Sutou Kouhei suggested me to submit an issue here. Can someone please help me to fix the issue? What do I have to do with required SSE4.2?
Thanks.
Environment: AIX7.2 Reporter: Xiaobo Zhang
Related issues:
Original Issue Attachments:
Externally tracked issue: https://github.com/apache/arrow/issues/9030
Note: This issue was originally created as ARROW-11065. Please see the migration documentation for further details.