On my G5-10.5 mkoctfile -p BLAS_LIBS returns

/sw/lib/liblapack.dylib /sw/lib/libf77blas.dylib

while on my G4-10.4 it returns a blank line.
I have rebuild octave324-atlas on the G4 and noticed in the configure stage:

...
checking whether CDOTU is called correctly from Fortran... no
checking whether ZDOTU is called correctly from Fortran... no
configure: WARNING: A BLAS library was detected but found incompatible with 
your Fortran 77 compiler.  The reference BLAS implementation will be used. To 
improve performance, consider using a different Fortran compiler or a switch 
like -ff2c to make your Fortran compiler use a calling convention compatible 
with the way your BLAS library was compiled, or use a different BLAS library.
...

which probably explains the missing BLAS_LIBS and the gsl-oct324 failure.
I have rebuild atlas (which requires gcc44) and octave to no success.
Looking at the confi.log file I found that the test

       program main 
 
       double complex zdotu,a(1),b(1),w
       external zdotu
       a(1) = dcmplx(1d0,1d0)
       b(1) = dcmplx(1d0,2d0)
       w = zdotu(1,a,1,b,1) 
       if (w .ne. a(1)*b(1)) stop 1
 
       end

compiled with 
gfortran-fsf-4.6 -g -O3 -ff2c -L/sw/lib conf.f90 /sw/lib/libf77blas.dylib 
-lhdf5 -lz -lm -lGraphicsMagick -lmetis
gives a segmentation fault at runtime, while it succeeds when compiled with
gfortran-fsf-4.6 -g -O3 conf.f90 -L/sw/lib -lcblas -lf77blas -latlas -lhdf5 -lz 
-lm -lGraphicsMagick -lmetis
On the G5 I get a "STOP 1" with the former and a pass with the later.
(on x86_64-apple-darwin10.8.0 I get a bus error whatever I tried).

What could be the next move?

TIA

Dominique

------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to