[Ipopt-tickets] [Ipopt] #239: Configuration issue when linking Intel MKL BLAS on 64-bit Windows 7 & Cygwin

Ipopt coin-trac at coin-or.org
Sun Jul 13 19:42:40 EDT 2014


#239: Configuration issue when linking Intel MKL BLAS on 64-bit Windows 7 &
Cygwin
---------------------+------------------------
  Reporter:  aero1   |      Owner:  ipopt-team
      Type:  defect  |     Status:  new
  Priority:  normal  |  Component:  Ipopt
   Version:  3.11    |   Severity:  normal
Resolution:          |   Keywords:
---------------------+------------------------

Comment (by stefan):

 Replying to [comment:1 kelman]:
 > I've personally only used MKL on Linux. I don't think MKL on Windows
 works particularly well (if at all) with GNU compilers. You'd likely need
 to use the Intel compilers, which require Visual Studio-style compilation
 on Windows.

 Our usual autotools based buildsystem should work with Intel compilers on
 Windows.
 I usually build Ipopt under Windows with MSYS and MS or Intel Compilers.
 When using Intel compilers, the buildsystem should pick up MKL
 automatically.

 > You should be able to use OpenBLAS along with GNU compilers on Windows,
 they have binaries posted here:
 https://sourceforge.net/projects/openblas/files/ Make sure to use a BLAS
 library with 32 bit integer size for Ipopt.
 >
 > Are you building with 32 bit or 64 bit compilers?

 Yeah, the error in the {{{config.log}}} file,
 {{{
 C:/Progra~2/Intel/Compos~1/mkl/lib/intel64/mkl_intel_thread_dll.lib(mkl_intel_thread.dll.b):(.text+0x2):
 relocation truncated to fit: R_X86_64_32 against symbol
 `__imp_mkl_blas_daxpy' defined in .idata$5 section in
 C:/Progra~2/Intel/Compos~1/mkl/lib/intel64/mkl_intel_thread_dll.lib(mkl_intel_thread.dll.b)
 }}}
 looks like there is some mixup between 32bit and 64bit libraries.
 The MKL libs seem to be 64bit libs, but maybe gcc builds 32bit?
 Maybe setting {{{CC="gcc -m64" CXX="g++ -m64" F77="gfortran -m64"}}} for
 configure could help?

--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/239#comment:2>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list