[Pythonmac-SIG] with libraries compiled with intel compilers, intel libguide.dylib not included

Dan White dan at chalkie.org.uk
Wed Jun 21 10:09:03 CEST 2006

On 21 Jun 2006, at 09:29, Ronald Oussoren wrote:

> On 20-jun-2006, at 23:32, Dan White wrote:
>> what should i rewrite it to be?
>> using
>> install_name_tool -id   ?
>> what would make pyapp automatically copy the library and rewrite  
>> the install_name?
> If I understand things correctly the install_name of libguide.dylib  
> is currently just libguide.dylib, whereas it should be /path/to/ 
> libguide.dylib. The install_name is copied into any objects that  
> link to the library (which is what you get to see when you use  
> otool -vL).
> If the install_name of a linked-to library points to a library that  
> py2app can find at that location that library will be copied into  
> the application bundle and it's install_name gets rewritten to  
> something relative to the executable in the application bundle.
> Now that I think a bit more about this issue, it might be possible  
> to solve this using a py2app recipe. I don't really have time to  
> work on this, even though I'd love to play with the Intel compiler  
> to see if that would speed up Python.

OK, Now I unbderstand, thanks for clearinf htat up.

So intel made a problem by not setting the install_name of  
to the path where it is installed.

I will hack it and see if py2app picks it up.

I will also investigate the licence re redistribution of that library.

At least with VTK c++ code compiled with intel compilers on a core  
duo intel MacBook Pro
with flags -xP -parallel for full optimization
lots of loops get vectorised, and it seems at least as fast if not  
faster than gcc code.
I havent done any rigorous testing measuring performance times,
but it seems fairly snappy so far.


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

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

More information about the Pythonmac-SIG mailing list