[Ipopt-tickets] [Ipopt] #153: linearsolverloader pardiso interface out of date
Ipopt
coin-trac at coin-or.org
Thu Mar 17 09:44:22 EDT 2011
#153: linearsolverloader pardiso interface out of date
-------------------+--------------------------------------------------------
Reporter: jdh | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.9 | Severity: normal
Keywords: |
-------------------+--------------------------------------------------------
PARDISO has a new interface (as of v4.0.0?) that contains additional
arguments to the old interface.
The HAVE_PARDISO_NEWINTERFACE macro is used to establish this existence at
compile time if --have-pardiso= is used at configure. Otherwise the old
interface is assumed.
Further, the linear solver library loader interface still uses the old
version.
Looking at Ipopt/configure.ac it seems that the new interface can be
differentiated from the old one as defines the symbol
pardiso_ipopt_newinterface. This could be exploited by the linear solver
loader to use the correct interface.
I suspect that the new interface should be made the default in
IpPardisoSolverInterface and the logic inverted so that ONLY if the old
interface is detected at configure time does IpPardisoSolverInterface use
the old interface. This then allows linear solver loader to detect the old
interface at runtime and just ignore the additional arguments (note: I
have not checked if this can be done safely).
Jonathan.
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/153>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list