Hi Stephane,
That's been fixed in PV master branch
(ebb4f1be6234fd9047c6618bce802942f818a4a5). Here is the part that you
need to work around the bug.
Burlen
diff --git a/Plugins/SciberQuestToolKit/EigenConfig.cmake
b/Plugins/SciberQuestToolKit/EigenConfig.cmake
index 5b7420a..95b6e2e 100644
--- a/Plugins/SciberQuestToolKit/EigenConfig.cmake
+++ b/Plugins/SciberQuestToolKit/EigenConfig.cmake
@@ -51,9 +51,11 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
message(STATUS "CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}")
message(STATUS "INTEL_COMP_ROOT=${INTEL_COMP_ROOT}")
message(STATUS "INTEL_COMP_VERSION=${INTEL_COMP_VERSION}")
- endif ()
+ endif()
#endif ()
- get_filename_component(INTEL_XMMINTRIN_PATH ${INTEL_XMMINTRIN} PATH)
+ if (INTEL_XMMINTRIN)
+ get_filename_component(INTEL_XMMINTRIN_PATH ${INTEL_XMMINTRIN} PATH)
+ endif()
mark_as_advanced(INTEL_XMMINTRIN_PATH)
set(EXTRA_INTEL_INCLUDES ${INTEL_XMMINTRIN_PATH} CACHE PATH
"Set this to the path to intel xmm intrinsics header if there are
conflicts with gcc's xmm intrinsics.")
On 10/17/2013 01:58 AM, Stéphane Glockner wrote:
Hello,
I would to compile paraview on linux (ParaView-4.0.1-Linux-64bit) with
Intel compilers, version 14.0.0, but I encounter the following error
during the configure step :
CMake Warning at Plugins/SciberQuestToolKit/EigenConfig.cmake:50
(message):
The Intel compiler may need EXTRA_INTEL_INCLUDES set to the directory
containing xmmintrin.h
Call Stack (most recent call first):
Plugins/SciberQuestToolKit/CMakeLists.txt:67 (include)
CMake Error at Plugins/SciberQuestToolKit/EigenConfig.cmake:56
(get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
Plugins/SciberQuestToolKit/CMakeLists.txt:67 (include)
However,I think to have set correctly the EXTRA_INTEL_INCLUDES variable :
CMAKE_CXX_COMPILER
/work/soft/compilateurs/composer_xe_2013_sp1.0.080/bin/intel64/icpc
CMAKE_C_COMPILER
/work/soft/compilateurs/composer_xe_2013_sp1.0.080/bin/intel64/icc
CMAKE_Fortran_COMPILER
/work/soft/compilateurs/composer_xe_2013_sp1.0.080/bin/intel64/ifort
EXTRA_INTEL_INCLUDES
/work/soft/compilateurs/composer_xe_2013_sp1.0.080/compiler/include
since xmmintrin.h exits in the directory :
# ls
/work/soft/compilateurs/composer_xe_2013_sp1.0.080/compiler/include/xmmintrin.h
/work/soft/compilateurs/composer_xe_2013_sp1.0.080/compiler/include/xmmintrin.h
So I have no idea to solve the problem, any help is welcome, thanks !
Stéphane Glockner
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview