patchGNU Autoconf Archive - Patches: patch #7807, improve MKL detection in AX_BLAS

 
 

patch #7807: improve MKL detection in AX_BLAS

Submitter:  None
Submitted:  Tue 26 Jun 2012 01:15:21 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Sep 2012 09:38:18 AM UTC, comment #5: 

Your patch has been pushed in 635720c554c7c02abcc0c9b5d531af20e4ab7dbe. Thank you very much for your efforts.

Peter Simons <simons>
Group administrator
Wed 25 Jul 2012 04:27:36 AM UTC, comment #4: 

Ok, seems to work fine for me. Please apply.

Thanks,
Chris

Christopher Gilbreth <cngilbreth>
Sun 22 Jul 2012 06:50:22 PM UTC, comment #3: 

Hi Peter,

Thanks for keeping track of this. Yes, I've been meaning to test with C/C++ but just haven't gotten around to it. Let me get back to you tomorrow.

Cheers,
Chris

Christopher Gilbreth <cngilbreth>
Sun 22 Jul 2012 06:27:16 PM UTC, comment #2: 

Hi Christopher,

what is the status of this patch? Would you still like it to be applied to ax_blas?

Take care,
Peter

Peter Simons <simons>
Group administrator
Tue 26 Jun 2012 03:31:39 PM UTC, comment #1: 

Hi,

Please hold on this, it just occurred to me I haven't tested it using C/C++, only fortran.

Christopher Gilbreth <cngilbreth>
Tue 26 Jun 2012 01:15:21 PM UTC, original submission:  

This patch improves the detection of the Intel Math Kernel Library (MKL) in AX_BLAS. New versions of the MKL cannot be linked with  "-lmkl -lguide -lpthread", but instead require variations on "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread",depending on architecture, compiler & other variables. See http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/.

The present patch detects the architecture (x86_64 or i686) and compiler (gfortran or others), but not the interface layer (assumes lp64 for x86_64), threading (assumes sequential), static vs. dynamic (assumes dynamic), etc.

Tested on a number of different systems using gfortran and ifort.


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #26106:  patch.txt added by None (2KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by simons
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by cngilbreth (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-09 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2012-09-07 simons StatusNeed Info Ready For Test
    2012-07-22 simons Carbon-Copy- Added steven g. johnson <stevenj@alum.mit.edu>
    2012-07-22 simons StatusNone Need Info
        Assigned toNone simons
    2012-06-26 None Attached File- Added patch.txt, #26106

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code