-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/21/11 3:20 PM, Martin Costabel wrote: > On 21/10/11 14:56 , Alexander Hansen wrote: [] >> Unfortunately, Octave-3.4.3 has changed the warning to an error. >> On 10.6/x86_64 I get: > [] >> checking whether SDOT is called correctly from Fortran... yes >> checking whether DDOT is called correctly from Fortran... yes >> checking whether CDOTU is called correctly from Fortran... no >> checking whether ZDOTU is called correctly from Fortran... no > [] >> checking whether SDOT is called correctly from Fortran... no >> checking whether DDOT is called correctly from Fortran... yes >> checking whether CDOTU is called correctly from Fortran... yes >> checking whether ZDOTU is called correctly from Fortran... yes > [] >> checking whether SDOT is called correctly from Fortran... yes >> checking whether DDOT is called correctly from Fortran... yes >> checking whether CDOTU is called correctly from Fortran... no >> checking whether ZDOTU is called correctly from Fortran... no > > All this in one configure run? This is, to phrase it politely, not > very consistent.
I think I found a reason for this inconsistency. These results were from the build of fltk-backend-aqua-oct343, which builds all of Octave and then throws most of it away. Since the FLTK modules don't actually care about BLAS or LAPACK, I didn't bother adding the -ff2c Fortran compiler flag. I use this in the normal Octave packages because it is apparently necessary when using the Accelerate framework. > Is there nothing in config.log that explains what configure is > really doing there and why it believes that the calls are > incorrect? > The overall results are the same, with better consistency in the tests, when I look at builds using the -ff2c flag. Here's what I get on 10.6/x86_64: configure:48657: checking for sgemm_ in -Wl,-framework,Accelerate configure:48685: flag-sort -r gcc -o conftest -O3 -D_THREAD_SAFE - -pthread -I/sw64/include -Wl,-dead_strip_dylibs -L/sw64/lib conftest.c - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis /sw64/lib/gcc4.6/lib/libgfortran.dylib >&5 configure:48685: $? = 0 configure:48692: result: yes configure:49642: checking whether LSAME is called correctly from Fortran configure:49665: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49665: $? = 0 configure:49665: ./conftest configure:49665: $? = 0 configure:49674: result: yes configure:49677: checking whether ISAMAX is called correctly from Fortran configure:49698: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49698: $? = 0 configure:49698: ./conftest configure:49698: $? = 0 configure:49707: result: yes configure:49710: checking whether SDOT is called correctly from Fortran configure:49730: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49730: $? = 0 configure:49730: ./conftest STOP 1 configure:49730: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | real sdot,a(1),b(1),w | external sdot | a(1) = 1e0 | b(1) = 2e0 | w = sdot(1,a,1,b,1) | if (w .ne. a(1)*b(1)) stop 1 | | end configure:49739: result: no configure:49742: checking whether DDOT is called correctly from Fortran configure:49762: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49762: $? = 0 configure:49762: ./conftest configure:49762: $? = 0 configure:49771: result: yes configure:49774: checking whether CDOTU is called correctly from Fortran configure:49794: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49794: $? = 0 configure:49794: ./conftest configure:49794: $? = 0 configure:49803: result: yes configure:49806: checking whether ZDOTU is called correctly from Fortran configure:49826: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49826: $? = 0 configure:49826: ./conftest configure:49826: $? = 0 configure:49835: result: yes configure:49839: checking whether the integer size is correct configure:49873: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49873: $? = 0 configure:49873: ./conftest STOP 1 configure:49873: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | integer n,nn(3) | real s,a(1),b(1),sdot | a(1) = 1.0 | b(1) = 1.0 | c Generate -2**33 + 1, if possible | n = 2 | n = -4 * (n ** 30) | n = n + 1 | if (n >= 0) goto 1 | c This means we're on 64-bit integers. Check whether the BLAS is, too. | s = sdot(n,a,1,b,1) | if (s .ne. 0.0) stop 1 | 1 continue | c We may be on 32-bit integers, and the BLAS on 64 bits. This is almost bound | c to have already failed, but just in case, we'll check. | nn(1) = -1 | nn(2) = 1 | nn(3) = -1 | s = sdot(nn(2),a,1,b,1) | if (s .ne. 1.0) stop 1 | | end configure:49882: result: no configure:50161: checking for sgemm_ in -Wl,-framework,Accelerate configure:50189: flag-sort -r gcc -o conftest -O3 -D_THREAD_SAFE - -pthread -I/sw64/include -Wl,-dead_strip_dylibs -L/sw64/lib conftest.c - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis /sw64/lib/gcc4.6/lib/libgfortran.dylib >&5 configure:50189: $? = 0 configure:50196: result: yes configure:51146: checking whether LSAME is called correctly from Fortran configure:51169: /sw64/bin/gfortran-fsf-4.6 -o conftest -ff2c -O3 - -ff2c -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:51169: $? = 0 configure:51169: ./conftest configure:51169: $? = 0 configure:51178: result: yes configure:51181: checking whether ISAMAX is called correctly from Fortran configure:51202: /sw64/bin/gfortran-fsf-4.6 -o conftest -ff2c -O3 - -ff2c -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:51202: $? = 0 configure:51202: ./conftest configure:51202: $? = 0 configure:51211: result: yes configure:51214: checking whether SDOT is called correctly from Fortran configure:51234: /sw64/bin/gfortran-fsf-4.6 -o conftest -ff2c -O3 - -ff2c -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:51234: $? = 0 configure:51234: ./conftest STOP 1 configure:51234: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | real sdot,a(1),b(1),w | external sdot | a(1) = 1e0 | b(1) = 2e0 | w = sdot(1,a,1,b,1) | if (w .ne. a(1)*b(1)) stop 1 | | end configure:51243: result: no configure:51246: checking whether DDOT is called correctly from Fortran configure:51266: /sw64/bin/gfortran-fsf-4.6 -o conftest -ff2c -O3 - -ff2c -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:51266: $? = 0 configure:51266: ./conftest configure:51266: $? = 0 configure:51275: result: yes configure:51278: checking whether CDOTU is called correctly from Fortran configure:51298: /sw64/bin/gfortran-fsf-4.6 -o conftest -ff2c -O3 - -ff2c -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:51298: $? = 0 configure:51298: ./conftest configure:51298: $? = 0 configure:51307: result: yes configure:51310: checking whether ZDOTU is called correctly from Fortran configure:51330: /sw64/bin/gfortran-fsf-4.6 -o conftest -ff2c -O3 - -ff2c -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:51330: $? = 0 configure:51330: ./conftest configure:51330: $? = 0 configure:51339: result: yes configure:51343: checking whether the integer size is correct configure:51377: /sw64/bin/gfortran-fsf-4.6 -o conftest -ff2c -O3 - -ff2c -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:51377: $? = 0 configure:51377: ./conftest STOP 1 configure:51377: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | integer n,nn(3) | real s,a(1),b(1),sdot | a(1) = 1.0 | b(1) = 1.0 | c Generate -2**33 + 1, if possible | n = 2 | n = -4 * (n ** 30) | n = n + 1 | if (n >= 0) goto 1 | c This means we're on 64-bit integers. Check whether the BLAS is, too. | s = sdot(n,a,1,b,1) | if (s .ne. 0.0) stop 1 | 1 continue | c We may be on 32-bit integers, and the BLAS on 64 bits. This is almost bound | c to have already failed, but just in case, we'll check. | nn(1) = -1 | nn(2) = 1 | nn(3) = -1 | s = sdot(nn(2),a,1,b,1) | if (s .ne. 1.0) stop 1 | | end configure:51386: result: no configure:51618: flag-sort -r gcc -c -O3 -D_THREAD_SAFE -pthread - -DUSE_BLASWRAP -I/sw64/include conftest.c >&5 configure:51618: $? = 0 configure:51693: checking for sgemm_ in -Wl,-framework,Accelerate configure:51721: flag-sort -r gcc -o conftest -O3 -D_THREAD_SAFE - -pthread -DUSE_BLASWRAP -I/sw64/include -Wl,-dead_strip_dylibs - -L/sw64/lib conftest.c -Wl,-framework,Accelerate -lm -lGraphicsMagick - -lmetis /sw64/lib/gcc4.6/lib/libgfortran.dylib >&5 configure:51721: $? = 0 configure:51728: result: yes configure:52678: checking whether LSAME is called correctly from Fortran configure:52701: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:52701: $? = 0 configure:52701: ./conftest configure:52701: $? = 0 configure:52710: result: yes configure:52713: checking whether ISAMAX is called correctly from Fortran configure:52734: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:52734: $? = 0 configure:52734: ./conftest configure:52734: $? = 0 configure:52743: result: yes configure:52746: checking whether SDOT is called correctly from Fortran configure:52766: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:52766: $? = 0 configure:52766: ./conftest STOP 1 configure:52766: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | real sdot,a(1),b(1),w | external sdot | a(1) = 1e0 | b(1) = 2e0 | w = sdot(1,a,1,b,1) | if (w .ne. a(1)*b(1)) stop 1 | | end configure:52775: result: no configure:52778: checking whether DDOT is called correctly from Fortran configure:52798: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:52798: $? = 0 configure:52798: ./conftest configure:52798: $? = 0 configure:52807: result: yes configure:52810: checking whether CDOTU is called correctly from Fortran configure:52830: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:52830: $? = 0 configure:52830: ./conftest configure:52830: $? = 0 configure:52839: result: yes configure:52842: checking whether ZDOTU is called correctly from Fortran configure:52862: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:52862: $? = 0 configure:52862: ./conftest configure:52862: $? = 0 configure:52871: result: yes configure:52875: checking whether the integer size is correct configure:52909: /sw64/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -Wl,-dead_strip_dylibs -L/sw64/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:52909: $? = 0 configure:52909: ./conftest STOP 1 configure:52909: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | integer n,nn(3) | real s,a(1),b(1),sdot | a(1) = 1.0 | b(1) = 1.0 | c Generate -2**33 + 1, if possible | n = 2 | n = -4 * (n ** 30) | n = n + 1 | if (n >= 0) goto 1 | c This means we're on 64-bit integers. Check whether the BLAS is, too. | s = sdot(n,a,1,b,1) | if (s .ne. 0.0) stop 1 | 1 continue | c We may be on 32-bit integers, and the BLAS on 64 bits. This is almost bound | c to have already failed, but just in case, we'll check. | nn(1) = -1 | nn(2) = 1 | nn(3) = -1 | s = sdot(nn(2),a,1,b,1) | if (s .ne. 1.0) stop 1 | | end configure:52918: result: no configure:53160: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings. Which showed up at the console as: checking for sgemm_ in -Wl,-framework,Accelerate... yes checking whether LSAME is called correctly from Fortran... yes checking whether ISAMAX is called correctly from Fortran... yes checking whether SDOT is called correctly from Fortran... no checking whether DDOT is called correctly from Fortran... yes checking whether CDOTU is called correctly from Fortran... yes checking whether ZDOTU is called correctly from Fortran... yes checking whether the integer size is correct... no checking for sgemm_ in -Wl,-framework,Accelerate... yes checking whether LSAME is called correctly from Fortran... yes checking whether ISAMAX is called correctly from Fortran... yes checking whether SDOT is called correctly from Fortran... no checking whether DDOT is called correctly from Fortran... yes checking whether CDOTU is called correctly from Fortran... yes checking whether ZDOTU is called correctly from Fortran... yes checking whether the integer size is correct... no checking for sgemm_ in -Wl,-framework,Accelerate... yes checking whether LSAME is called correctly from Fortran... yes checking whether ISAMAX is called correctly from Fortran... yes checking whether SDOT is called correctly from Fortran... no checking whether DDOT is called correctly from Fortran... yes checking whether CDOTU is called correctly from Fortran... yes checking whether ZDOTU is called correctly from Fortran... yes checking whether the integer size is correct... no configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings. On 10.6/i386, by contrast, I got: configure:49642: checking whether LSAME is called correctly from Fortran configure:49665: /sw32/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -mieee-fp -Wl,-dead_strip_dylibs -L/sw32/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49665: $? = 0 configure:49665: ./conftest configure:49665: $? = 0 configure:49674: result: yes configure:49677: checking whether ISAMAX is called correctly from Fortran configure:49698: /sw32/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -mieee-fp -Wl,-dead_strip_dylibs -L/sw32/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49698: $? = 0 configure:49698: ./conftest configure:49698: $? = 0 configure:49707: result: yes configure:49710: checking whether SDOT is called correctly from Fortran configure:49730: /sw32/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -mieee-fp -Wl,-dead_strip_dylibs -L/sw32/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49730: $? = 0 configure:49730: ./conftest configure:49730: $? = 0 configure:49739: result: yes configure:49742: checking whether DDOT is called correctly from Fortran configure:49762: /sw32/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -mieee-fp -Wl,-dead_strip_dylibs -L/sw32/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49762: $? = 0 configure:49762: ./conftest configure:49762: $? = 0 configure:49771: result: yes configure:49774: checking whether CDOTU is called correctly from Fortran configure:49794: /sw32/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -mieee-fp -Wl,-dead_strip_dylibs -L/sw32/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49794: $? = 0 configure:49794: ./conftest configure:49794: $? = 0 configure:49803: result: yes configure:49806: checking whether ZDOTU is called correctly from Fortran configure:49826: /sw32/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -mieee-fp -Wl,-dead_strip_dylibs -L/sw32/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49826: $? = 0 configure:49826: ./conftest configure:49826: $? = 0 configure:49835: result: yes configure:49839: checking whether the integer size is correct configure:49873: /sw32/bin/gfortran-fsf-4.6 -o conftest -O3 -ff2c - -mieee-fp -Wl,-dead_strip_dylibs -L/sw32/lib conftest.f - -Wl,-framework,Accelerate -lm -lGraphicsMagick -lmetis >&5 configure:49873: $? = 0 configure:49873: ./conftest configure:49873: $? = 0 configure:49882: result: yes resulting in checking for sgemm_ in -Wl,-framework,Accelerate... yes checking whether LSAME is called correctly from Fortran... yes checking whether ISAMAX is called correctly from Fortran... yes checking whether SDOT is called correctly from Fortran... yes checking whether DDOT is called correctly from Fortran... yes checking whether CDOTU is called correctly from Fortran... yes checking whether ZDOTU is called correctly from Fortran... yes checking whether the integer size is correct... yes - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6h1YEACgkQB8UpO3rKjQ86DgCfa1Gjr+ackGiBuL19vRZa9lTi NCcAni+QSIuEToWHY0dwARCBFBNIhyej =LNwp -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ 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