octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50339] configure detection for BLAS does not


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #50339] configure detection for BLAS does not use -fdefault-integer-8
Date: Thu, 7 Sep 2017 20:07:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #9, bug #50339 (project octave):

Alternatively I can also build by passing
F77_INTEGER_8_FLAG=-fdefault-integer-8 as Kai said in comment #4. If that
variable is filled in at the beginning of configure, then everything else
seems to work together. Without that option specific up front, I get


configure: defining FFLAGS to be -g -O2
checking for sgemm_ in -lblas... yes
checking whether LSAME is called correctly from Fortran... yes
checking whether ISAMAX is called correctly from Fortran... no
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... yes
checking BLAS library integer size... 8
checking for sgemm_ in -lblas... yes
checking whether LSAME is called correctly from Fortran... yes
checking whether ISAMAX 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... no
checking whether ZDOTU is called correctly from Fortran... no
checking BLAS library integer size... 8
configure: error: BLAS and LAPACK libraries are required


Some of these tests are segfaulting because the integer size is obviously
incorrect at this point, so it thinks that the BLAS library simply doesn't
work and configure fails.

I'm not sure if the intent here was to test BLAS with the default options
first, let it fail, and then try again with the option to use 64-bit integers?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50339>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]