On 10 Sep 2011, at 12:59, Dominique Dhumieres wrote: > 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).
This is clearly the right explanation, but is your file octave-3.2.4.info up to date ? The flag "-ff2c" should no longer be there (on the "export FFLAGS" line), since r1.9 (Revision 5) , of 2011/09/05 ... Jean-Francois ------------------------------------------------------------------------------ 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