[Paraview] EXTRA_INTEL_INCLUDES

Stéphane Glockner glockner at enscbp.fr
Tue Oct 22 03:24:23 EDT 2013


Hi,

I have taken last source thanks to git and the procedure described on 
the web. But the problem remains.

I have noticed that in the last version of Intel compilers (at least on 
my system) that xmmintrin.h file is not in compiler/include/intel64 
directory, where it used to be with older Intel compiler version (at 
least version 12 on my system).
Intel64 directory contains just the  .mod files (see below).

So I have copied the .h and .f90 files into intel64 directory and it 
works fine now.

Thanks for your help.
Stéphane



condor:/work/soft/compilateurs/composer_xe_2013_sp1.0.080/compiler/include 
# ls
bfp754_conf.h           cilk        emmintrin.h for_fpclass.h     
forreent.for         ieee_features.f90 ifposix.f90          ivec.h       
nmmintrin.h  pmmintrin.h wmmintrin.h
bfp754_functionnames.h  complex     fenv.h for_fpeflags.for  
forreent.h           ifcore.f90 immintrin.h          math.h       
offload.h    smmintrin.h xmm_func.h
bfp754.h                complex.h   float.h for_fpeflags.h    
fvec.h               ifestablish.f90 intel64              mathimf.h    
omp.h        sse2mmx.h xmmintrin.h
bfp754_macros.h         dfp754.h    fordef.for foriosdef.f90     
ia32intrin.h         iflport.f90 _intel_mf_runtime.h  mic          
omp_lib.f90  tbk_traceback.h xmm_utils.h
bfp754_types.h          dvec.h      fordef.h for_iosdef.for    
ieee_arithmetic.f90  iflposix.f90 iso_c_binding.f90    mic_lib.f90  
omp_lib.h    tgmath.h zmmintrin.h
chkp.h                  emm_func.h  for_fpclass.for for_iosdef.h      
ieee_exceptions.f90  ifport.f90 iso_fortran_env.f90  mmintrin.h   
pgouser.h    tmmintrin.h

condor:/work/soft/compilateurs/composer_xe_2013_sp1.0.080/compiler/include 
# ls intel64/
foriosdef.mod            ieee_exceptions.modintr  ifcore.mod 
iflport.mod   ifport.mod        ifposix.mod iso_fortran_env.modintr  
omp_lib_kinds.mod
ieee_arithmetic.modintr  ieee_features.modintr    ifestablish.mod 
iflposix.mod  ifport_types.mod  iso_c_binding.modintr 
mic_lib.mod              omp_lib.mod


Le 17/10/2013 18:51, Burlen Loring a écrit :
> 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
> .
>


-- 
  Stéphane Glockner
  Institut de Mécanique et d'Ingénierie de Bordeaux I2M - UMR 5295
  Département TREFLE - Equipe Mécanique des Fluides Numérique
  16,avenue Pey Berland - 33607 Pessac Cedex
  Tél : 05 40 00 66 82  Fax : 05 40 00 66 68
  Web : http://www.trefle.u-bordeaux1.fr
        http://thetis.enscbp.fr
        http://www.trefle.u-bordeaux1.fr/personnel/pages/glockner.html



More information about the ParaView mailing list