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

 
 

bug #43274: [MXE] with enable-openblas

Submitted by:  Mark <mb1234>
Submitted on:  Mon 22 Sep 2014 01:26:34 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Works For MeAssigned to: None
Originator Name: Open/Closed: Closed
Release: otherOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission 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>
Project Administrator
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>
Project 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>
Project 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>
Project 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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by mb1234 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 Feb 2015 01:48:10 AM UTCmtmillerCategoryNone=>Configuration and Build System
      StatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1