[Ipopt] compiling ipopt against MKL

Amit Aides amitibo at techunix.technion.ac.il
Tue Nov 13 15:01:23 EST 2012


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,

More information about the Ipopt mailing list