[Ipopt] compiling ipopt against MKL

Breannan Smith smith at cs.columbia.edu
Wed Nov 14 00:15:24 EST 2012


I did not. After running configure, near the bottom of the output I find:

checking whether LAPACK is already available with BLAS library... yes:
-L/opt/intel/composer_xe_2013.0.079/mkl/lib/intel64 -lmkl_intel_lp64
-lmkl_sequential -lmkl_core

On Tue, Nov 13, 2012 at 11:50 PM, Amit Aides
<amitibo at techunix.technion.ac.il> wrote:
> Don't you need to mention --with-lapack ?
>
> Thank you,
> Amit
>
>
> On 13/11/2012 22:35, Breannan Smith wrote:
>>
>> The following configuration call works for me (sequential MKL, Intel
>> 13.0.0, Ubuntu 12.04 64 bit):
>>
>> ../configure CXX=icpc CC=icc F77=ifort --with-blas="-L$MKLROOT/lib
>> -lmkl_intel_lp64 -lmkl_sequential -lmkl_core"
>>
>> On Tue, Nov 13, 2012 at 3:01 PM, Amit Aides
>> <amitibo at techunix.technion.ac.il> wrote:
>>>
>>> Hello,
>>>
>>> I am trying to compile ipopt (trunk version) on linux 64bit. I want to
>>> link
>>> it against MKL. I have access to composer_xe_2011.
>>> I will appreciate if someone can share the correct configuration settings
>>> for this type of compilation.
>>> I tried the settings below (in the config.site file) but it links against
>>> the default blas/lapack.
>>>
>>> with_blas="-L$MKLROOT/lib/intel64 -lmkl_gf_lp64 -lmkl_gnu_thread
>>> -lmkl_lapack -lmkl_core -liomp5 -lpthread"
>>> with_lapack="-L$MKLROOT/lib/intel64 -lmkl_lapack"
>>>
>>> Thanks in advance,
>>> Amit
>>> _______________________________________________
>>> Ipopt mailing list
>>> Ipopt at list.coin-or.org
>>> http://list.coin-or.org/mailman/listinfo/ipopt
>
>


More information about the Ipopt mailing list