[Coin-discuss] Problems with ipopt on OS X
Geoff Leyland
geoff_leyland at fastmail.fm
Wed Dec 15 17:24:46 EST 2010
Hi,
Thanks for the help Stefan! I've checked out fresh copy of CoinAll, got the third-party libraries, built with --enable-debug and tested, and still get an abort, at least this time with symbols.
Next I'll build just Ipopt from a checkout on a different machine and see where that gets me.
Cheers,
Geoff
CoinAll$ svn co https://projects.coin-or.org/svn/CoinBinary/CoinAll/stable/1.5 CoinAll-stable-1.5
...
CoinAll$ cd CoinAll-stable-1.5
CoinAll-stable-1.5$ ./get.AllThirdParty
...
CoinAll-stable-1.5$ ./configure --enable-debug
...
configure: WARNING: Failed to find a Fortran compiler!
CoinAll-stable-1.5$ ./configure CC=gcc-mp-4.4 CXX=g++-mp-4.4 F77=gfortran-mp-4.4 --enable-debug
...
configure: Main configuration of CoinAll successful
CoinAll-stable-1.5$ make
...
CoinAll-stable-1.5$ cd Ipopt/
Ipopt$ make test
...
Running unitTests...
Testing AMPL Solver Executable...
./run_unitTests: line 47: 1820 Abort trap ../src/Apps/AmplSolver/ipopt mytoy.nl > tmpfile 2>&1
---- 8< ---- Start of test program output ---- 8< ----
==> Warning: Treating 1 binary and 1 integer variables as continous.
---- 8< ---- End of test program output ---- 8< ----
******** Test FAILED! ********
Output of the test program is above.
Testing C++ Example...
./run_unitTests: line 51: 1825 Abort trap ./hs071_cpp > tmpfile 2>&1
---- 8< ---- Start of test program output ---- 8< ----
---- 8< ---- End of test program output ---- 8< ----
******** Test FAILED! ********
Output of the test program is above.
Testing C Example...
./run_unitTests: line 69: 1829 Abort trap ./hs071_c > tmpfile 2>&1
---- 8< ---- Start of test program output ---- 8< ----
---- 8< ---- End of test program output ---- 8< ----
******** Test FAILED! ********
Output of the test program is above.
Testing Fortran Example...
./run_unitTests: line 87: 1833 Abort trap ./hs071_f > tmpfile 2>&1
---- 8< ---- Start of test program output ---- 8< ----
---- 8< ---- End of test program output ---- 8< ----
******** Test FAILED! ********
Output of the test program is above.
make[1]: *** [test] Error 255
make: *** [unitTest] Error 2
Ipopt$ cd test/
test$ gdb ./hs071_c
...
(gdb) run
Starting program: /Users/geoff/projects/CoinAll/CoinAll-stable-1.5/Ipopt/test/hs071_c
Reading symbols for shared libraries .++++++. done
Program received signal SIGABRT, Aborted.
0x00007fff85257616 in __kill ()
(gdb) bt
#0 0x00007fff85257616 in __kill ()
#1 0x00007fff852f7cca in abort ()
#2 0x000000010075eb02 in uw_init_context_1 ()
#3 0x000000010075ef48 in _Unwind_Resume ()
#4 0x0000000100070c72 in Ipopt::AlgorithmBuilder::BuildBasicAlgorithm (this=0x1014274e0, jnlst=@0x101400d50, options=@0x101400cd0, prefix=@0x7fff5fbff260) at IpAlgBuilder.cpp:755
#5 0x0000000100010bd2 in Ipopt::IpoptApplication::OptimizeNLP (this=0x101400c70, nlp=@0x101400cc0, alg_builder=@0x7fff5fbff300) at IpIpoptApplication.cpp:703
#6 0x0000000100010874 in Ipopt::IpoptApplication::OptimizeNLP (this=0x101400c70, nlp=@0x101400cc0) at IpIpoptApplication.cpp:669
#7 0x0000000100010312 in Ipopt::IpoptApplication::OptimizeTNLP (this=0x101400c70, tnlp=@0x7fff5fbff4b0) at IpIpoptApplication.cpp:648
#8 0x000000010001aa3a in IpoptSolve (ipopt_problem=0x101400b80, x=0x101400d30, g=0x0, obj_val=0x7fff5fbff588, mult_g=0x0, mult_x_L=0x101400b20, mult_x_U=0x101427270, user_data=0x0) at IpStdCInterface.cpp:252
#9 0x00000001000025e1 in main () at hs071_c.c:123
(gdb)
More information about the Coin-discuss
mailing list