[Paraview] Re: intel compilers on OSX

Dan White dan at chalkie.org.uk
Thu Sep 7 14:21:16 EDT 2006


Hi Mike,

I have built VTK with python(universal) wrappings
on an intel macbook pro with the 0.29 version of the intel compilers.
That's always been with recent CVS versions of VTK.
Not sure what VTK version you are using.

so it might be a problem with the 0.30 version of the intel  
compilers...?

I noticed that many of the VTK .dylibs i generate link against
libGuide.dylib, which is one of the intel libs

Watch out, the install_name of the intel libs are not set correctly
and i have been having problems getting the install_names set correctly
on
make install
and also using
py2app

this means that if you forget to run
>> source /opt/intel/cc/9.1.029/bin/iccvars.sh
then you will be in trouble at runtime, as the intel libs
will not be in the dynamic library path

(shouldn't it be the .profile not the .bashrc that you add that to?)

I have also had success using the compiler flag -xP for optimisation
for the intel core duo chip in the MacBook Pro.
Seemed to make some of our custom VTK C++ code faster.
I suppose thats the point of using those compilers in the first place.

cheers

Dan


> Ok. Did all that. I added the sourcing of the iccvars.sh to  
> my .bashrc file.
> Did a clean make and still the same problem when it gets to the  
> point of
> linking libvtkCommonTCL it dies with the same errors. I also  
> noticed from
> the verbose make file that at the link stage the intel library  
> folder is not
> being included as a link directory and neither are the intel libs..
>
> (*(*(*__frustrated__#%@$#
> -- 
> Mike Jackson   Senior Research Engineer
> Innovative Management & Technology Services
>
>
> On 9/7/06 12:49 PM, "Dan White" <dan at chalkie.org.uk> wrote:
>
>> Ahhh Yes!
>> you must remember to source the file containing the environmental
>> variables
>> required by the compilers to find their stuff
>>
>> read the instructions for the compiler package
>>
>> should be something like
>>
>> source /opt/intel/cc/9.1.029/bin/iccvars.sh
>>
>> cheers
>>
>> Dan
>>
>> On 7 Sep 2006, at 19:34, Mike Jackson wrote:
>>
>>> So I did the trick described and now I am getting:
>>>
>>> ld: Undefined symbols:
>>> __intel_fast_memcmp
>>> __intel_fast_memcpy
>>> ___libm_sse2_atan
>>> ___libm_sse2_cos
>>> ___libm_sse2_log10
>>> ___libm_sse2_atan2
>>> ___libm_sse2_sincos
>>> ___libm_sse2_sin
>>>
>>> I am guessing that I am missing a library path somewhere but Not
>>> sure where.
>>> Google isn't being helpful. I just found some references to
>>> libirc.a and
>>> libimf.a.
>>>
>>> Any help would be appreciated.
>>>
>>> Here is my cmake instantiation:
>>> cmake -D CMAKE_C_COMPILER:FILEPATH=/usr/bin/icc -D
>>> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/icc -D
>>> CXX_COMPILER_OPTIONS:STRING=-cxxlib-icc,-dynamiclib,-L/opt/intel/cc/
>>> 9.1.030/
>>> lib/,-lirc,-limf,lsvml -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON ../
>>> paraview-2.4.4/
>>>

Dr. Daniel James White BSc. (Hons.) PhD
Bioimaging Coordinator
Nanoscience Centre and Department of Biological and Environmental  
Sciences
Division of Molecular Recognition
Ambiotica C242
PO Box 35
University of Jyväskylä
Jyväskylä
FIN 40014
Finland

+358 14 260 4183 (work)
+358 468102840 (mobile)
http://www.bioimagexd.org
http://www.chalkie.org.uk
dan at chalkie.org.uk
white at cc.jyu.fi




More information about the ParaView mailing list