[ADOL-C] Crash report putting together ADOL-C, Ipopt and.. ColPack
Antonello Lobianco
antonello at lobianco.org
Mon Jul 2 04:41:14 EDT 2012
Hello,
I'm very new to ADOL-C. I'm trying to use it in the following environment:
- Linux 32bit ubuntu 12.04
- ADOL-C 2.3.0
- Ipopt 3.10.2
- ColPack 1.0.6
The first problem I had, the ADOL-C could no find the ColPack source, even
if I placed it in [ADOL-C SRC]/ThirdParty/ColPack. I had to first make and
install ColPack in /usr, then the ADOL-C configure (also with
--prefix=/usr) had no problems find it.
Then I run the ipopt examples, and, as far as I include the #include
<cassert> directive, I am able to run both the LuksanVlcek1 and
MittelmannDistCntrlNeumA examples. Great !
However, when I try their equivalent *_sparce version, I got the program
crashing.
The call stack is as follow:
0 ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_usermem
JacobianRecovery1D.cpp 514 0xb617cdb4
1 sparse_jac sparsedrivers.cpp 388 0xb7d8ec16
2 MyADOLC_sparseNLP::eval_jac_g Adolc_debugtest.cpp 275
0x8053a43
3 Ipopt::TNLPAdapter::internal_eval_jac_g(bool)
/usr/lib/libipopt.so.1 0 0xb7dfa35f
4 Ipopt::TNLPAdapter::Eval_jac_c(Ipopt::Vector const&,
Ipopt::Matrix&) /usr/lib/libipopt.so.1 0 0xb7dfcf8b
5
Ipopt::GradientScaling::DetermineScalingParametersImpl(Ipopt::SmartPtr<Ipopt::VectorSpace
const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>,
Ipopt::SmartPtr<Ipopt::VectorSpace const>,
Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>, Ipopt::Matrix const&,
Ipopt::Vector const&, Ipopt::Matrix const&, Ipopt::Vector const&, double&,
Ipopt::SmartPtr<Ipopt::Vector>&, Ipopt::SmartPtr<Ipopt::Vector>&,
Ipopt::SmartPtr<Ipopt::Vector>&) /usr/lib/libipopt.so.1 0
0xb7e5d697
6
Ipopt::StandardScalingBase::DetermineScaling(Ipopt::SmartPtr<Ipopt::VectorSpace
const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>,
Ipopt::SmartPtr<Ipopt::VectorSpace const>,
Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
Ipopt::SmartPtr<Ipopt::MatrixSpace const>,
Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>,
Ipopt::SmartPtr<Ipopt::MatrixSpace const>&,
Ipopt::SmartPtr<Ipopt::MatrixSpace const>&,
Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>&, Ipopt::Matrix const&,
Ipopt::Vector const&, Ipopt::Matrix const&, Ipopt::Vector const&)
/usr/lib/libipopt.so.1 0 0xb7ea6838
7
Ipopt::OrigIpoptNLP::InitializeStructures(Ipopt::SmartPtr<Ipopt::Vector>&,
bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool,
Ipopt::SmartPtr<Ipopt::Vector>&, bool, Ipopt::SmartPtr<Ipopt::Vector>&,
bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool,
Ipopt::SmartPtr<Ipopt::Vector>&, Ipopt::SmartPtr<Ipopt::Vector>&)
/usr/lib/libipopt.so.1 0 0xb7eb141a
8 Ipopt::IpoptData::InitializeDataStructures(Ipopt::IpoptNLP&, bool,
bool, bool, bool, bool) /usr/lib/libipopt.so.1 0 0xb7e87bab
9 Ipopt::DefaultIterateInitializer::SetInitialIterates()
/usr/lib/libipopt.so.1 0 0xb7e4d2d0
10 Ipopt::IpoptAlgorithm::InitializeIterates()
/usr/lib/libipopt.so.1 0 0xb7e5f83d
11 Ipopt::IpoptAlgorithm::Optimize(bool) /usr/lib/libipopt.so.1
0 0xb7e64114
12 Ipopt::IpoptApplication::call_optimize() /usr/lib/libipopt.so.1
0 0xb7ded769
13 Ipopt::IpoptApplication::OptimizeNLP(Ipopt::SmartPtr<Ipopt::NLP>
const&, Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>&)
/usr/lib/libipopt.so.1 0 0xb7df17a1
14 Ipopt::IpoptApplication::OptimizeNLP(Ipopt::SmartPtr<Ipopt::NLP>
const&) /usr/lib/libipopt.so.1 0 0xb7df2944
15 Ipopt::IpoptApplication::OptimizeTNLP(Ipopt::SmartPtr<Ipopt::TNLP>
const&) /usr/lib/libipopt.so.1 0 0xb7ded224
16 Sandbox::testAdolc Sandbox.cpp 768 0x808b312
17 main main.cpp 52 0x806a45d
Any hint ?
Thank you,
Antonello
--
Antonello Lobianco
INRA, Laboratoire d'Economie Forestière
14 Rue Girardet - 54000 Nancy, France
Tel: +33.652392310
Email: antonello.lobianco at nancy-engref.inra.fr
http://antonello.lobianco.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120702/ec1a6623/attachment.html>
More information about the ADOL-C
mailing list