[Ipopt-tickets] [Ipopt] #98: Termination code 11
Ipopt
coin-trac at coin-or.org
Tue May 26 11:18:45 EDT 2009
#98: Termination code 11
-----------------------+----------------------------------------------------
Reporter: jakesson | Owner: andreasw
Type: defect | Status: assigned
Priority: normal | Component: Ipopt
Version: | Severity: normal
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by andreasw):
* owner: ipopt-team => andreasw
* status: new => assigned
Old description:
> The issue is described in the mailing list post
>
> http://list.coin-or.org/pipermail/ipopt/2009-May/001517.html
>
> Termination code 11 results if IPOPT (when invoked from AMPL) is compiled
> after running the configure script without arguments. The config.log file
> and the resulting .nl file are attached.
>
> The following three configure argument configurations has been tried (in
> addition to no arguments):
>
> - CXXFLAGS='-O3 -g -DNDEBUG' CFLAGS='-O3 -g -DNDEBUG' FFAGS='-O3 -g'
> - CXXFLAGS='-O -g -DNDEBUG' CFLAGS='-O -g -DNDEBUG' FFAGS='-O -g'
> - --enable-debug
>
> In all these cases the optimization runs fine.
>
> The tests are run with IPOPT 3.6.1 (which cannot be selected in the list
> below).
New description:
The issue is described in the mailing list post
http://list.coin-or.org/pipermail/ipopt/2009-May/001517.html
Termination code 11 results if IPOPT (when invoked from AMPL) is compiled
after running the configure script without arguments. The config.log file
and the resulting .nl file are attached.
The following three configure argument configurations has been tried (in
addition to no arguments):
- CXXFLAGS='-O3 -g -DNDEBUG' CFLAGS='-O3 -g -DNDEBUG' FFAGS='-O3 -g'
- CXXFLAGS='-O -g -DNDEBUG' CFLAGS='-O -g -DNDEBUG' FFAGS='-O -g'
- --enable-debug
In all these cases the optimization runs fine.
The tests are run with IPOPT 3.6.1 (which cannot be selected in the list
below).
Comment:
Hi Johan,
Thanks for creating the ticket.
I had a look at the config.log file, and it seems that you didn't specify
the flags as you describe in this ticket, you only ran it as "./configure"
and therefore Ipopt used the default compiler flags:
CXXFLAGS='-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors
-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -Wno-unknown-pragmas '
I ran your bla.nl example with 3.6.1, and I had no issues, it ran well,
and valgrind did not detect any errors. I used the MA27 linear solver
(from your output it is not clear which one you used - maybe you didn't
include one and this might be the issues? Did "make test" work?)
You are using the GCC 4.3.2 compilers. I have not tried to compile Ipopt
with those, and it could be that this is the issue. I have successfully
used Ipopt with GCC 4.1.2 and 4.2.1. As we discussed in the mailing list,
the segfault happens in a function of the ASL, which is not Ipopt code,
and you might have to talk to the developer of that software...
Not sure what I can add at this point...
Regards,
Andreas
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/98#comment:1>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list