bugGNU Octave - Bugs: bug #43274, [MXE] with enable-openblas

 
 

bug #43274: [MXE] with enable-openblas

Submitter:  Mark <mb1234>
Submitted:  Mon 22 Sep 2014 01:26:34 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 05 Feb 2015 01:48:10 AM UTC, comment #9: 

So the only remaining issue here is that openblas is built but not used. This is basically the same as for the Windows build. The result of the mxe build process is all dependencies get built, including alternatives like this, but it's up to the user to deploy and choose which alternative library to use. That seems fair to me.  Can we consider this working as expected?

Mike Miller <mtmiller>
Group Member
Tue 23 Sep 2014 12:57:19 PM UTC, comment #8: 

If you look at mxe-octave as a program creates a full distribution package for octave (and all of its support libraries) then the enable-openblas means include it in the package, not make octave be built with it.

John Donoghue <lostbard>
Group Member
Tue 23 Sep 2014 12:49:57 PM UTC, comment #7: 

It's not so much a problem typing "make openblas" but rather that it took a week or so for me to realize it wasn't being used even with --enable-openblas.

It's just an opinion but it would seem that ./configure --enable-openblas should utilize openblas.

Mark <mb1234>
Mon 22 Sep 2014 11:21:56 PM UTC, comment #6: 

If you run make tar-dist to create a tarball for distribution, it should compile it. Or make binary-dist-files.

John Donoghue <lostbard>
Group Member
Mon 22 Sep 2014 10:15:15 PM UTC, comment #5: 

As I recall, the openblas option was originally intended simply as a way to have openblas compiled and available as an option for the installer, not so that it would be used by default.

Are you sure you need --enable-64?

John W. Eaton <jwe>
Group administrator
Mon 22 Sep 2014 09:56:38 PM UTC, comment #4: 

Joun you're right, I missed it out. Sorry.

The issues with openblas still stand tho.

Mark <mb1234>
Mon 22 Sep 2014 06:26:22 PM UTC, comment #3: 

You need to also provide the open:
host_alias=gnu-Linux

Otherwise it thinks you are trying to do a native mingw build, which does recognise the  -W option.

John Donoghue <lostbard>
Group Member
Mon 22 Sep 2014 05:38:52 PM UTC, comment #2: 

One final point: when using openblas, the libblas.so file in [MXE]/usr/lib probably should be replaced with a symbolic link to libopenblas.so otherwise openblas doesn't seem to get used in calculations.

Mark <mb1234>
Mon 22 Sep 2014 06:07:16 AM UTC, comment #1: 

Correction - the configure options below result in a make failure with this message:

bash: line 0: pwd: -W: invalid option
pwd: usage: pwd [-LP]
bash: line 0: pwd: -W: invalid option
pwd: usage: pwd [-LP]

Is this a bug? I don't know. What is needed is to add host_alias=gnu-linux to the configure command.

./configure --enable-64 --enable-native-build --enable-pic-flag host_alias=gnu-linux --enable-openblas --enable-jit

Then make proceeds.

Mark <mb1234>
Mon 22 Sep 2014 01:26:34 AM UTC, original submission:  

I compiled a fresh download of MXE Octave and configured with:

./configure --enable-64 --enable-native-build --enable-pic-flag --enable-openblas --enable-jit

After running make, I noticied it did not download openblas nor compile it (obviously).

It was easy enough to manually run "make openblas" and then it proceeded correctly. However I suppose it should automatically do this.

Mark <mb1234>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by mb1234 (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
    2015-02-05 mtmiller CategoryNone Configuration and Build System
        StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code