[Ipopt] ipopt build : unresolved external symbol _SetIpoptCallbackFunction
Moncade, Fabrice
fabrice.moncade at mclaren.com
Fri Nov 21 10:16:15 EST 2014
Hi Stefan, and Toni,
First of all, many thanks for the quick feedback.
To Stefan: yes I am trying to build Ipopt in a "non-supported" way in order to be able to test the inexact algorithm on my specific problem.
To Toni: I have read a lot about the inexact algorithm, and I kind of convinced myself that it might be worth a try on my specific problem. Nonetheless, I understand now, that I would have to get the "official Pardiso" by opposition to the "MKL Pardiso" if I want to get a real chance of trying it. I thought it would be possible with MKL Pardiso, until I hit that linking issue. I appreciate having received your confirmation on the matter.
Cheers,
Fab.
-----Original Message-----
From: Stefan Vigerske [mailto:stefan at math.hu-berlin.de]
Sent: 21 November 2014 14:53
To: Moncade, Fabrice; ipopt at list.coin-or.org
Subject: Re: [Ipopt] ipopt build : unresolved external symbol _SetIpoptCallbackFunction
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20141121/8932a6ff/attachment-0001.html>
More information about the Ipopt
mailing list