[Ipopt] Problem while compiling IPOPT with Intel MKL Blaslibrary

Tony Kelman kelman at berkeley.edu
Sat Jan 24 19:56:18 EST 2015


You should use the LP64 version of MKL, not ILP64.


From: paras tiwari 
Sent: Saturday, January 24, 2015 4:45 PM
To: ipopt at list.coin-or.org 
Subject: Re: [Ipopt] Problem while compiling IPOPT with Intel MKL Blaslibrary


I am trying to use Intel MKL Blas library. I solved the error in configure and It was due to missing library. The configure and make works fine, but I am getting segmentation fault while running make test. I used following configure command 

../configure -with-blas=" -DMKL_ILP64 -fopenmp -m64 -I$MKLROOT/include -Wl,--no-as-needed -L$MKLROOT/lib/intel64 -lmkl_intel_ilp64 -lmkl_core -lmkl_gnu_thread -ldl -lpthread -lm"


I would appreciate for any suggestion to resolve the problem.

Thanks,
Paras

On Sat, Jan 24, 2015 at 4:26 PM, Tony Kelman <kelman at berkeley.edu> wrote:

  You’ll need to look into config.log, either at the top level of your build folder or in Ipopt/config.log, to get more output on what caused the error. Probably missing pthreads or something like that.

  -Tony


  From: paras tiwari 
  Sent: Saturday, January 24, 2015 7:38 AM
  To: ipopt at list.coin-or.org 
  Subject: [Ipopt] Problem while compiling IPOPT with Intel MKL Blas library

  Greeting, 

  I am trying to configure IPOPT with Intel MKL Blas library. I used following command to configure the IPOPT
  ../configure -with-blas="-L$MKLPATH  -lmkl_blas95_lp64 $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a"


  where MKLPath is the path to my Intel MKL library.

  I got the error, user supplied blas does not work. 

  I would appreciate if anyone could guide me the way to compile IPOPT with Intel MKL Blas library.

  Thanks,
  Paras

------------------------------------------------------------------------------
  _______________________________________________
  Ipopt mailing list
  Ipopt at list.coin-or.org
  http://list.coin-or.org/mailman/listinfo/ipopt




--------------------------------------------------------------------------------
_______________________________________________
Ipopt mailing list
Ipopt at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/ipopt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20150124/21d74774/attachment.html>


More information about the Ipopt mailing list