[Ipopt] Compiling IPOPT with MKL on Ubuntu 8.04

Stefan Vigerske stefan at math.hu-berlin.de
Wed Aug 27 06:24:45 EDT 2008


Hi,

> I hope you won't mind my asking a somewhat naïve question, but how  
> exactly do I compile IPOPT with MKL's BLAS and Lapack?
> (or rather, where are the MKL BLAS and Lapack files located?)
> 
> I'm trying out the latest IPOPT (3.5.0) on my Ubuntu 8.04 (32-bit)  
> machine.
> 
> My setup:
> - Intel C compiler (10.1.012)
> - Intel Fortran compiler (10.1.012)
> - Intel MKL (10.0.4.023)
> 
> I also have
> - gcc/gfortran 4.2.3 (but I'm not using these for the compilation)
> 
> I tried following
> 
> I tried:
> ./configure --with-blas="/opt/intel/mkl/10.0.4.023/interfaces/blas95/ 
> source/" CC=icc CXX=icpc F77=ifort

I think you need to specify the library (some .lib file), not the 
directory of the source.

> 
> But I got:
> configure: error: user supplied BLAS library "/opt/intel/mkl/ 
> 10.0.4.023/interfaces/blas95/source/" does not work.
> 
> I noticed the files in that directory had .f90 extensions. I renamed  
> the files to *.f but it didn't solve the problem.

If you use --with-blas, then configure assumes you provide a blas 
library in binary form, not the source.

Stefan

-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan


More information about the Ipopt mailing list