[Ipopt] ipopt build : unresolved external symbol _SetIpoptCallbackFunction

Stefan Vigerske stefan at math.hu-berlin.de
Fri Nov 21 09:53:17 EST 2014


Hi,

Pardiso in MKL does not include the callback function that Ipopt is 
looking for.
However,  IpIterativePardisoSolverInterface.cpp should only be compiled 
if configuring with --enable-inexact-solver, in which case configure 
should also have figured that your Pardiso lib does not fit. Thus, 
either there is a bug in configure (workaround by not using 
--enable-inexact-solver), or you use some selfmade buildsystem, which 
isn't supported.

Stefan

On 11/21/2014 03:34 PM, Moncade, Fabrice wrote:
> Dear all,
>
> I am currently trying to build Ipopt 3.11.9 with Pardiso as linear solver on Windows.
>
>
> The Pardiso library comes from the Intel's MKL 11.2. Therefore, I have been able to export the following functions:  Pardisoinit, pardiso, pardiso_getenv, pardiso_setenv, mkl_pardiso_pivot, pardiso_getdiag, pardiso_handle_store, pardiso_handle_restore, pardiso_handle_delete. When linking, I get an unresolved external symbol corresponding to SetIpoptCallbackFunction. This function appears in IpIterativePardisoSolverInterface.cpp, but is not define anywhere. In the Ipopt source code, a comment indicates that : "The following global function pointer is defined in the Pardiso library".
>
>
>
> How can I resolve this issue, while using the MKL's Pardiso ?
>
>
>
> Many thanks.
> Fab
>
> The contents of this e-mail are confidential and for the exclusive use of the intended recipient.
> If you are not the intended recipient you should not read, copy, retransmit or disclose its contents.
> If you have received this email in error please delete it from your system immediately and notify us either by email or telephone.
> The views expressed in this communication may not necessarily be the views held by McLaren Racing Limited.
> McLaren Racing Limited | McLaren Technology Centre | Chertsey Road | Woking | Surrey | GU21 4YH | UK | Company Number: 01517478
>
>
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>



More information about the Ipopt mailing list