bugGNU Octave - Bugs: bug #49575, __octave_config_info__...

 
 

bug #49575: __octave_config_info__ ("fftw_version") differs from fftwf_version

Submitter:  Kai Torben Ohlhus <siko1056>
Submitted:  Thu 10 Nov 2016 11:09:49 PM UTC
   
 
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.0-rc4 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Nov 2016 04:31:37 AM UTC, comment #2: 

How bizarre.  I changed the BIST test to check that _octave_config_info_ ("version") returns the same string as OCTAVE_VERSION().  Those two things should definitely be equal.  See http://hg.savannah.gnu.org/hgweb/octave/rev/e078f5607762.

Fixed. Closing report.

Rik <rik5>
Group administrator
Thu 10 Nov 2016 11:19:36 PM UTC, comment #1: 

I pulled down the openSUSE source rpm for fftw3. Sure enough, it looks like the double-precision library is built with --enable-sse2 --enable-avx, but the single-precision library is built with --enable-sse2. So yes, on openSUSE they build the single and double-precision variants differently.

Should we try to correct for that, use a substring of the full version string? Should we just ignore it? Should we remove this unit test entirely?

Mike Miller <mtmiller>
Group Member
Thu 10 Nov 2016 11:09:49 PM UTC, original submission:  

First, I am not facing any obvious problems. Since a while I get the following test error and Rik suggested to report it.


>> test libinterp/corefcn/toplev.cc-tst
***** assert (__octave_config_info__ ("fftw_version"), __octave_config_info__ ("fftwf_version"))
!!!!! test failed
ASSERT errors for:  assert (__octave_config_info__ ("fftw_version"),__octave_config_info__ ("fftwf_version"))

  Location  |  Observed  |  Expected  |  Reason
     []      fftw-3.3.5-sse2-avx fftw-3.3.5-sse2   Strings don't match


Somehow the "-avx" is cut off in fftwf_version. I run openSUSE Tumbleweed, and have the following installed:


$ zypper se fftw
Reading installed packages...

S | Name                      | Summary                                               | Type
--+---------------------------+-------------------------------------------------------+-----------
i | fftw3-devel               | Include Files and Libraries mandatory for Development | package
  | fftw3-mpi-devel           | Discrete Fourier Transform (DFT) C subroutine library | package
  | fftw3-openmp-devel        | Discrete Fourier Transform (DFT) C subroutine library | package
i | fftw3-threads-devel       | Discrete Fourier Transform (DFT) C subroutine library | package
i | libfftw3-3                | Discrete Fourier Transform (DFT) C Subroutine Library | package
  | libfftw3-3-32bit          | Discrete Fourier Transform (DFT) C Subroutine Library | package
  | libfftw3_mpi3             | Discrete Fourier Transform (DFT) C subroutine library | package
  | libfftw3_mpi3-32bit       | Discrete Fourier Transform (DFT) C subroutine library | package
  | libfftw3_omp3             | Discrete Fourier Transform (DFT) C subroutine library | package
  | libfftw3_omp3-32bit       | Discrete Fourier Transform (DFT) C subroutine library | package
i | libfftw3_threads3         | Discrete Fourier Transform (DFT) C subroutine library | package
  | libfftw3_threads3-32bit   | Discrete Fourier Transform (DFT) C subroutine library | package


Kai Torben Ohlhus <siko1056>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by siko1056 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-11 rik5 Open/ClosedOpen Closed
    2016-11-11 rik5 StatusNone Fixed
    2016-11-10 siko1056 Dependencies- Depends on bugs #45659

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code