|
From: | Ben Abbott |
Subject: | Re: Mac-Intel math performance libraries |
Date: | Mon, 29 Sep 2008 22:15:40 -0400 |
On Sep 29, 2008, at 2:23 PM, Samir Sharshar wrote:
Hi octave users, I've just bought a fair new MacPro Intel-based processor. Searching the internet I've found that the IntelMath Kernel Libraries for mac os x could increase by a 30% factor the performance of octave (as said by an Ubuntu user). I'm running under 10.5.5, with XCode 3.1 (aka gcc 4.0) I'm in trouble in compiling octave with : 1. UMFPACK : everything goes fine but the .a libraries have no symbols (ranlib errors), 2. FFTW 3.0 : cannot build shared libraries Secondly, I imagine I have to pass some compilation arguments to compile UMFPACK and FFTW against the Intel libraries but can't figure how... sorry I'm not a C/C++/Fortran developper :) Have anyone test or does the job ? Help would be greatly appreciated, Cheers, Samir Sharshar MD
I use the Fink package manager and in the past have created local packages that build octave using various lapack versions. At the present time, I'm only using Apple's version.
However you might look to see what is done there, and modify it for your purpose. During the configure process I see the following
=== configuring in scripts (/sw/src/fink.build/octave3.1.51-3.1.51-3/ octave-3.1.51/scripts) configure: running /bin/sh ./configure --disable-option-checking '-- prefix=/sw' 'FLIBS=/sw/lib/gcc4.3/lib/libgfortran.dylib' 'F77=/sw/bin/ gfortran' '--host=i386-apple-darwin' '--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man' '--libexecdir=${prefix}/lib' '-enable- shared' '-enable-dl' '--disable-static' '--without-mpi' '--with-hdf5' '--with-fftw' '--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/ System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/ libLAPACK.dylib' '--with-blas=-Wl,-framework,Accelerate,-dylib_file,/ System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/ libBLAS.dylib' 'host_alias=i386-apple-darwin' 'CFLAGS=-O3' 'LDFLAGS=-L/ sw/lib' 'CPPFLAGS=-I/sw/include' 'CXXFLAGS=-O3' 'FFLAGS=-O3' --cache- file=/dev/null --srcdir=.
Perhaps there is enough information in that for you to figure it out? Ben
[Prev in Thread] | Current Thread | [Next in Thread] |