bugGNU Octave - Bugs: bug #43525, mxe-octave: compile with OpenBLAS...

 
 

bug #43525: mxe-octave: compile with OpenBLAS with OMP enabled

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Tue 04 Nov 2014 10:38:58 AM UTC  
 
Category: Configuration and Build SystemSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: Open/Closed: Closed
Release: 3.8.2Operating System: Microsoft Windows

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 19 Feb 2015 01:40:12 AM UTC, comment #6:

I ran in win7 with no issues. But I also havent had any issues with printing either ...

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 18 Feb 2015 07:15:16 PM UTC, comment #5:

Can this bug be closed now? I've built MXE-Octave with the new patch in place and it appears to work. I inverted a random 100x100 matrix. I also changed the environment variable OPENBLAS_NUM_THREADS to 2 and ran the CLI version of Octave and it appeared to work.

I tried to run _run_test_suite_ but I got a segmentation violation which I will report as a new bug because I don't think it is related to this.

Rik <rik5>
Project Administrator
Tue 17 Feb 2015 07:00:33 PM UTC, comment #4:

Added USE_THREAD=1

http://hg.octave.org/mxe-octave/rev/6f9360caaf59

John Donoghue <lostbard>
Project MemberIn charge of this item.
Fri 30 Jan 2015 04:23:58 PM UTC, comment #3:

Updating summary based on the primary request.

Mike Miller <mtmiller>
Project Administrator
Tue 04 Nov 2014 06:06:34 PM UTC, comment #2:

Looking through init.c from OpenBLAS, if it doesn't find any relevant environment variables (including OMP_NUM_THREADS) then it defaults to using all the cores.

Ceral Paquet <octavebugs>
Tue 04 Nov 2014 02:48:33 PM UTC, comment #1:

If threading is enabled, what should the default be for OPENBLAS_NUM_THREADS? What does openblas use if that environment variable is not set?

You are welcome to build Octave with whatever options you choose, but there are still a number of problems with 64-bit indexing so --enable-64 should not yet be made the default.

John W. Eaton <jwe>
Project Administrator
Tue 04 Nov 2014 10:38:58 AM UTC, original submission:

I noticed when running the Windows MXE builds that only a single thread is used even when BLAS-heavy routines. Looking at the MXE make file openblas.mk indicates USE_THREAD=0 is the default.

Would it be possible to turn USE_THREAD=1 and then let users specify OPENBLAS_NUM_THREADS as an environment variable?

Also, would it be possible to configure the Windows build to use --enable-64?

Ceral Paquet <octavebugs>

 

(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 rik5 (Posted a comment)
  • -unavailable- added by lostbard (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by octavebugs (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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Feb 2015 01:08:52 AM UTClostbardStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 17 Feb 2015 07:00:33 PM UTClostbardStatusIn Progress=>Ready For Test
    Tue 17 Feb 2015 12:49:30 AM UTClostbardStatusNone=>In Progress
      Assigned toNone=>lostbard
    Fri 30 Jan 2015 04:23:58 PM UTCmtmillerCategoryNone=>Configuration and Build System
      Severity3 - Normal=>1 - Wish
      Item GroupNone=>Feature Request
      SummaryMXE defaults for Windows builds=>mxe-octave: compile with OpenBLAS with OMP enabled

    Back to the top


    Powered by Savane 3.1-cleanup1