[Ipopt] re-use AmplTNLP

Stefan Vigerske stefan at math.hu-berlin.de
Mon Jul 13 06:12:52 EDT 2009


Hi,

> OK, i changed the LibraryHandler.h header to just define:
> 
> #define ERROR_LOADLIB
>   typedef void *soHandle_t;

Do you know which effect this change has?

> This warning is also gone but the immediate segmentation fault on
> program start up remained when building with -static.

Did you just add -static to the LDFLAGS, or configured with
--enable-static ?

> If i drop the
> -static flag, everything works perfectly, it does not seem to be a bug
> in my application.

You should be able to disable the LinearSolverLoader by specifying
--disable-linear-solver-loader at the command line.

> My questions for the moment are:
> 
> - What other slow operations (i.e. hard disk read/write) are happening
> in the background?

Don't know much about ASL.

> - What is causing the segmentation fault when building with -static flag?

Can you try a debug build? Does it gives the same warnings?

Stefan

-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan



More information about the Ipopt mailing list