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


patch #7807: improve MKL detection in AX_BLAS

Submitted by:  None
Submitted on:  Tue Jun 26 13:15:21 2012  
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Fri Sep 7 09:38:18 2012, comment #5:

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

Peter Simons <simons>
Project AdministratorIn charge of this item.
Wed Jul 25 04:27:36 2012, comment #4:

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


Christopher Gilbreth <cngilbreth>
Sun Jul 22 18:50:22 2012, 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.


Christopher Gilbreth <cngilbreth>
Sun Jul 22 18:27:16 2012, 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 Simons <simons>
Project AdministratorIn charge of this item.
Tue Jun 26 15:31:39 2012, comment #1:


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

Christopher Gilbreth <cngilbreth>
Tue Jun 26 13:15:21 2012, 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

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.



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

Attach File(s):

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


Depends on the following items: None found

Items that depend on this one: None found


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

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



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Sep 9 21:02:33 2012simonsStatusReady For Test=>Done
    Fri Sep 7 09:38:18 2012simonsStatusNeed Info=>Ready For Test
    Sun Jul 22 18:27:17 2012simonsCarbon-Copy-=>Added steven g. johnson
    Sun Jul 22 18:27:16 2012simonsStatusNone=>Need Info
      Assigned toNone=>simons
    Tue Jun 26 13:15:21 2012NoneAttached File-=>Added patch.txt, #26106

    Back to the top

    Powered by Savane 3.1-cleanup1